Prerequisites
Describe the issue
While reassigning an organization for a logged in user we're unable to see the user as part of the newly created organization in any way.
Tried out using refreshTokens on getKindeServerSession from @kinde-oss/kinde-auth-nextjs/server and also refreshUserClaims from UsersApi on @kinde-oss/kinde-typescript-sdk (although the last one not sure could help on reloading the current user information).
Steps to reproduce:
- sign up as a new user -- should be in the default organization
- create a new organization
- assign the user to the new organization
- remove the user from the default organization
- user won't be able to see he is part of the new organization unless we do search for him using
organizationsApi.getOrganizationUsers with the new organization code
Reproduction repo / PR here
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs and @kinde-oss/kinde-typescript-sdk
Library version
2.3.8 and 2.9.1
Operating system(s)
macOS
Operating system version(s)
Sonoma 14.6
Further environment details
No response
Reproducible test case URL
drochag/kinde-nextjs-app-router-starter-kit#1
Additional information
No response
Prerequisites
Describe the issue
While reassigning an organization for a logged in user we're unable to see the user as part of the newly created organization in any way.
Tried out using
refreshTokensongetKindeServerSessionfrom@kinde-oss/kinde-auth-nextjs/serverand alsorefreshUserClaimsfromUsersApion@kinde-oss/kinde-typescript-sdk(although the last one not sure could help on reloading the current user information).Steps to reproduce:
organizationsApi.getOrganizationUserswith the new organization codeReproduction repo / PR here
Library URL
https://github.com/kinde-oss/kinde-auth-nextjs and @kinde-oss/kinde-typescript-sdk
Library version
2.3.8 and 2.9.1
Operating system(s)
macOS
Operating system version(s)
Sonoma 14.6
Further environment details
No response
Reproducible test case URL
drochag/kinde-nextjs-app-router-starter-kit#1
Additional information
No response