Skip to content

Commit

Permalink
Update extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/…
Browse files Browse the repository at this point in the history
…OidcAuthenticationMechanism.java

Co-authored-by: Pedro Igor <[email protected]>
  • Loading branch information
sberyozkin and pedroigor authored Sep 28, 2020
1 parent e1269c4 commit 7df9f0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private TenantConfigContext resolve(RoutingContext context) {

private boolean isWebApp(RoutingContext context, TenantConfigContext tenantContext) {
if (OidcTenantConfig.ApplicationType.HYBRID == tenantContext.oidcConfig.applicationType) {
return context.request().getHeader("Authorization") == null ? true : false;
return context.request().getHeader("Authorization") == null;
}
return OidcTenantConfig.ApplicationType.WEB_APP == tenantContext.oidcConfig.applicationType;
}
Expand Down

0 comments on commit 7df9f0e

Please sign in to comment.