Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-sso #442

Open
d4rfl0w opened this issue Apr 23, 2024 · 1 comment
Open

check-sso #442

d4rfl0w opened this issue Apr 23, 2024 · 1 comment

Comments

@d4rfl0w
Copy link

d4rfl0w commented Apr 23, 2024

How can I use this library to check if any user is logged into keycloak? By using check-sso ?

@bocharsky-bw
Copy link
Member

bocharsky-bw commented Apr 26, 2024

Hey @d4rfl0w ,

When a user log in via an OAuth provider, e.g. Keycloak - you will need to save his ID in your DB so that you could link the user in your DB with the Keycloak user. And so later you will just search for any users in your DB that are using the Keycloak provider because they have an ID set on that field. But before they sign in to your app via the Keycloak Oauth - I'm not sure you can check if any users are using Keycloak.

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

No branches or pull requests

2 participants