fix(oidc): Avoid storing Pac4j profile in cookie (#6260)

This commit is contained in:
John Joyce 2022-10-21 10:58:27 -07:00 committed by GitHub
parent 145aa2effe
commit 1bcc9df853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -40,6 +40,7 @@ public class SsoCallbackController extends CallbackController {
@Nonnull AuthServiceClient authClient) {
_ssoManager = ssoManager;
setDefaultUrl("/"); // By default, redirects to Home Page on log in.
setSaveInSession(false);
setCallbackLogic(new SsoCallbackLogic(ssoManager, systemAuthentication, entityClient, authClient));
}

View File

@ -50,4 +50,4 @@ METADATA_SERVICE_AUTH_ENABLED=true
DATAHUB_AKKA_MAX_HEADER_COUNT=64
# Change to override max header value length defaults
DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH=8k
DATAHUB_AKKA_MAX_HEADER_VALUE_LENGTH=8k