We have a mobile application setup with refresh tokens. Lots of users have logged in and are using the refresh token to get new access tokens. The application on Auth0 side is configured to use Organizations.
We want to move away from using Organizations, but when the application setting is set to “Individual” from “Business” the refresh tokens stop working. It fails on a call to get the new access token with “The refresh token was generated in the context of an organization but the associated client no longer allows it.”
This then forces the user to log out.
Our other option for a smooth transition to no organizations is to set the application to “Both” that lets the users be part of no organization. We can then move the users to zero organizations over time.
My first question is if it is possible to bypass the personal account vs choose an organization dialog when the user logs in? Since we want our application to handle organization switches, the user should ideally always be using their personal account.
I know you can pass in the organization when logging in, which bypasses the organization prompt when logging in at least when the application is set to Business.
We’d like to avoid logging out all our users.