Skip to content

Conversation

@NathanVss
Copy link
Contributor

Purpose

We want to be able to provide a silent login mecanism to the app. Let's do it by leveraging prompt=None during the OIDC flow.

Highly inspired by the work done by @lebaudantoine on https://github.com/suitenumerique/meet

The cookies set by keycloak were not formatted correctly so the browser was
not taking them into account. Providing those additionnal directives fixes the
issue.

Before:
Set-Cookie: KEYCLOAK_SESSION=<T>; Version=1; Path=/;
SameSite=Laxrealms/drive/; Max-Age=36000; Secure; SameSite=None

After:
Set-Cookie: KEYCLOAK_SESSION=<T>; Version=1; Path=/realms/drive/;
SameSite=Lax; Max-Age=36000; Secure; SameSite=None
Introduced a new configuration option,  to enable silent login functionality.
Added support for silent login in the authentication flow, utilizing a
new configuration option.
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants