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

Keycloak organization feature #296

Open
buff opened this issue Nov 29, 2024 · 2 comments
Open

Keycloak organization feature #296

buff opened this issue Nov 29, 2024 · 2 comments

Comments

@buff
Copy link

buff commented Nov 29, 2024

Steps to reproduce

  1. Configure keycloak v26 with new organization feature
  2. Add it to scope configuration in keycloak.get.ts
  3. See that the user object returns with organization object in onSuccess callback
  4. loggedIn computed property never changes to true on redirection page
@petitkriket
Copy link

I dont get what is the bug here ? you successfully retrieve the organization details in the user object ? you do not ?

could you share your implementation ? pretty curious about it.

Been using the sister package. the org details are here as expected. my only pain is with extending the type definition of userInfo :)

https://github.com/itpropro/nuxt-oidc-auth

@buff
Copy link
Author

buff commented Dec 18, 2024

Hi @petitkriket ... the bug that I am seeing is that the loggedIn property does not change. In other words the user is never acknowledged by the library to have logged in successfully even though that is the case.
If I remove the 'organization' scope everything works correctly again but of course the organization info is no longer requested

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