mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-03-02 00:16:47 +01:00
reverted path in oauth 2 redirectUri
This commit is contained in:
parent
77dec10f25
commit
3c54046dc2
@ -285,7 +285,7 @@ public class SecurityConfiguration {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.info("SAML 2 login is not enabled. Using default.");
|
log.debug("SAML 2 login is not enabled. Using default.");
|
||||||
http.authorizeHttpRequests(authz -> authz.anyRequest().permitAll());
|
http.authorizeHttpRequests(authz -> authz.anyRequest().permitAll());
|
||||||
}
|
}
|
||||||
return http.build();
|
return http.build();
|
||||||
|
@ -200,7 +200,7 @@ public class OAuth2Configuration {
|
|||||||
.scope(oidcProvider.getScopes())
|
.scope(oidcProvider.getScopes())
|
||||||
.userNameAttributeName(oidcProvider.getUseAsUsername().getName())
|
.userNameAttributeName(oidcProvider.getUseAsUsername().getName())
|
||||||
.clientName(clientName)
|
.clientName(clientName)
|
||||||
.redirectUri(REDIRECT_URI_PATH + name)
|
.redirectUri(REDIRECT_URI_PATH + "oidc")
|
||||||
.authorizationGrantType(AUTHORIZATION_CODE)
|
.authorizationGrantType(AUTHORIZATION_CODE)
|
||||||
.build())
|
.build())
|
||||||
: Optional.empty();
|
: Optional.empty();
|
||||||
|
Loading…
Reference in New Issue
Block a user