- @auth0/auth0-react": "^1.8.0
- react “^17.0.2”
Is this a feature request or bug report? If so, please create an issue directly in the corresponding GitHub repo. The Community SDK category is for general discussion and support.
Unsure if this is a bug or I am missing a setting. I am unable to get a this working by passing organizations.
React setup looks like this
ReactDOM.render(
<React.StrictMode>
<ThemeProvider theme={theme}>
<CssBaseline />
<Auth0Provider domain={providerConfig.domain} clientId={providerConfig.clientId} organization={providerConfig.organization}>
<BrowserRouter>
<PageRoutes />
</BrowserRouter>
</Auth0Provider>
</ThemeProvider>
</React.StrictMode>,
document.getElementById("root")
);
Calling code :
<Button onClick={loginWithRedirect}>Login</Button>
All seems pretty straight forward based on what I’ve found. However the organization login doesn’t appear to be working as I am landed on this page.
{providerConfig.domain}
Oops!, something went wrong
Organizations are not supported in Classic Universal Login.
TECHNICAL DETAILS
TRACKING ID: da0627a8720584bf083d
SUPPORT
Please contact the systems administrator.
The interesting thing is I do not have Classic Universal Login enabled - it is set to the new Universal Login. I have created a new organization within the same tenant as well to kick the tires on it and it still doesn’t work.
Are there additional settings in getting organizations to login that I am missing?
There are also no logs for this, which is alarming. If I toggle the organization settings to not be “Team members of organizations” then I get a logged error saying organizations are not allowed. Any advice here as this is very confusing would be appreciated.