React Native: "Authorization has been denied for this request"

I am using react-native-auth0 v1.6.0 to authorize the app to access an API. The Auth0 server is successfully returning an access token, but shortly after I get the following “Authorization has been denied for this request” screen:

The code in which I call the auth0.webAuth.authorize() method is as follows:

auth0.webAuth.authorize({
scope: ‘openid profile email’,
audience: ‘http://localhost:54423/
})

Does anyone have insight into how to troubleshoot this?

Hi @gabe1,

We should look at the network requests to see what is going on. Can you please DM me a HAR file so I can investigate further?

Thanks,
Dan

Hi Dan, thanks for looking into this. I’ll read the link you sent and get back to you asap.

1 Like