Hi guys,
Let’s say we have 3 components
- API
- Blazor WASM client
- Auth0
I want to create a following scenario:
- user comes to our website and is redirected to auth0 for auth
- after logging in, he is redirected back to our website
- Api checks what organizations does the user belong to and passes that information to client
- Client shows a list of organizations. User will then be able to select one of them
- He logs into specific organization
Current problems :
- first time user logs in the org_id is not part of the token
- When I create a login link for specific organization it will not login the user again because he is already logged in
- When making requests to API (except the retrieval of user’s organizations), API requires it to have the org_id claim
Can someone please help me out ?
Thanks !
Can someone please help me guys I a