# Organization Authorization error - react sdk

**URL:** <https://community.auth0.com/t/organization-authorization-error-react-sdk/73002>\
**Category:** Get Help\
**Created:** [November 11, 2021, 5:01pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002 "2021-11-11T17:01:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![colin2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin2/32/30736_2.png) [@colin2](https://community.auth0.com/u/colin2)\
**Post date:** [November 11, 2021, 5:01pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002/1 "2021-11-11T17:01:34Z")

</div>

- @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

```auto
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 :

```auto
<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.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 11, 2021, 11:39pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002/3 "2021-11-11T23:39:42Z")

</div>

Hi @colin2,

Welcome to the Auth0 Community!

According to the error message regarding Organizations not being supported in the Classic Universal Login Experience, this is consistent with our [Organization Limitations](https://auth0.com/docs/organizations/organizations-overview#limitations) docs.

In this case, could you please check that you have disabled the Customize Login Page in your Universal Login settings?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/4/946fad86ca57f21ddac1aea43df2feefecde47ab.png)

It is not completely intuitive but when this feature is enabled, it uses the Classic Universal Login Experience under the hood.

Therefore, while enabled, you will see a yellow warning banner indicating these limitations. See below.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/9/9984558ac88f9810a1f9044ef0ca19d8ba1fe862.png)

Of course, the trade-off is that you won’t be able to use a customized classic universal login page, but you can [Universal Login Pages](https://auth0.com/docs/brand-and-customize/universal-login-page-templates). There are limitations with requiring custom domains, which is a paid feature.

You can learn more about the difference between the New and Classic Universal Login Experience [here](https://auth0.com/docs/login/universal-login/new-universal-login-vs-classic-universal-login)

Hoped this helps!

Please let me know if you have any other questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![colin2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/colin2/32/30736_2.png) [@colin2](https://community.auth0.com/u/colin2)\
**Post date:** [November 12, 2021, 2:36pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002/4 "2021-11-12T14:36:31Z")

</div>

That was indeed the problem. Thanks for the quick turnaround. Was a real head scratcher as I thought by having the New Login Experience in the left-most tab would have the final word.

Thanks again!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 12, 2021, 3:18pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002/5 "2021-11-12T15:18:38Z")

</div>

Hi @colin2,

Thank you for your response.

I’m glad to hear that everything is working now.

Please let me know if there’s anything else I can to do help.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 27, 2021, 3:19pm UTC](https://community.auth0.com/t/organization-authorization-error-react-sdk/73002/6 "2021-11-27T15:19:16Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
