There is a way to inject orgs in token using actions triggers post-login? We have a front-end application (SPA) and we need switch organizations, but i cannot figure out how to get organizations without access API Management, but SPAs cannot access API Management.
Do you have some solution to get organizations dynamically?
The flow is: user do login, list orgs (how to do without api management?), click and loginWithPopup
, change org.
I cannot found a way to get organizations from user.