mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-11 17:03:33 +00:00
fix(oidc): Avoid storing Pac4j profile in cookie (#6260)
This commit is contained in:
parent
145aa2effe
commit
1bcc9df853
@ -40,6 +40,7 @@ public class SsoCallbackController extends CallbackController {
|
|||||||
@Nonnull AuthServiceClient authClient) {
|
@Nonnull AuthServiceClient authClient) {
|
||||||
_ssoManager = ssoManager;
|
_ssoManager = ssoManager;
|
||||||
setDefaultUrl("/"); // By default, redirects to Home Page on log in.
|
setDefaultUrl("/"); // By default, redirects to Home Page on log in.
|
||||||
|
setSaveInSession(false);
|
||||||
setCallbackLogic(new SsoCallbackLogic(ssoManager, systemAuthentication, entityClient, authClient));
|
setCallbackLogic(new SsoCallbackLogic(ssoManager, systemAuthentication, entityClient, authClient));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user