Why is my authorizationParams coming through as [object Object]?


Trying to integrate in a new React SPA and have issues signing in. Checking the call to ‘authorize’, and then double checking in the logs, I can see the below might be the issue?

“authorizationParams”: “[object Object]”

All it says in the logs is “Unable to issue redirect for OAuth 2.0 transaction”, which obviously doesn’t say much, but he redirect is in the authorizationParams, so it must be there. I have followed the guides and have initialized the Auth0 provider many ways now without success.

Any help is much appreciated.

Hi @matthew.ford ,

Can I suggest, when making the call, remove the authorizationParams{ } and just include the parameter.
For example, instead of:

authorizationParams: {
redirect_uri: ‘<MY_CALLBACK_URL>’

Just provide:

redirect_uri: ‘<MY_CALLBACK_URL>’