# Help: server\_error: Unable to issue redirect for OAuth 2.0 transaction

**URL:** <https://community.auth0.com/t/help-server-error-unable-to-issue-redirect-for-oauth-2-0-transaction/100120>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [February 9, 2023, 7:29pm UTC](https://community.auth0.com/t/help-server-error-unable-to-issue-redirect-for-oauth-2-0-transaction/100120 "2023-02-09T19:29:02Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![drew.daniels](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew.daniels/32/44500_2.png) [@drew.daniels](https://community.auth0.com/u/drew.daniels)\
**Post date:** [February 14, 2023, 4:31pm UTC](https://community.auth0.com/t/help-server-error-unable-to-issue-redirect-for-oauth-2-0-transaction/100120/5 "2023-02-14T16:31:43Z")

</div>

Figured out what the issue was.

My first working app was using v1 of `auth0/auth0-react` whereas my second was using v2, so this config which worked with v1 did not work in v2:

```auto
const auth0config = {
  domain: REACT_APP_AUTH0_ISSUER_URL,
  clientId: REACT_APP_AUTH0_CLIENT_ID,
  audience: REACT_APP_AUTH0_AUDIENCE,
  redirectUri: REACT_APP_AUTH0_REDIRECT_URI,
  scope: REACT_APP_AUTH0_SCOPES,
};

function Auth0Wrapper({ children }) {
  return <Auth0Provider {...auth0config}>{children}</Auth0Provider>;
}

```

Instead, it should be:

```auto
const auth0config = {
  domain: REACT_APP_AUTH0_ISSUER_URL,
  clientId: REACT_APP_AUTH0_CLIENT_ID,
  authorizationParams: {
    audience: REACT_APP_AUTH0_AUDIENCE,
    redirect_uri: REACT_APP_AUTH0_REDIRECT_URI,
    scope: REACT_APP_AUTH0_SCOPES,
  }
};

function Auth0Wrapper({ children }) {
  return <Auth0Provider {...auth0config}>{children}</Auth0Provider>;
}

```

I had not realized there breaking changes in the latest update (my mistake), but it would have been nice if there were more descriptive errors thrown - although maybe the error I received should have been enough to indicate that something was wrong with my configuration of `redirect_uri`.

[v1 to v2 migration guide](https://github.com/auth0/auth0-react/blob/master/MIGRATION_GUIDE.md)

---

_[View the full topic](https://community.auth0.com/t/help-server-error-unable-to-issue-redirect-for-oauth-2-0-transaction/100120)._
