mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-12 01:11:41 +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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -50,4 +50,4 @@ METADATA_SERVICE_AUTH_ENABLED=true
|
|||||||
DATAHUB_AKKA_MAX_HEADER_COUNT=64
|
DATAHUB_AKKA_MAX_HEADER_COUNT=64
|
||||||
|
|
||||||
# Change to override max header value length defaults
|
# Change to override max header value length defaults
|
||||||
DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH=8k
|
DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH=8k
|
||||||
Loading…
x
Reference in New Issue
Block a user