auth0.js icon indicating copy to clipboard operation
auth0.js copied to clipboard

I/Failure: a0.invalid_configuration on done callback

Open rahlawat opened this issue 3 years ago • 1 comments

Describe the problem

We are using the done callback to handle a custom implementation to save password in the password manager in mobile devices.

What was the expected behavior?

The expected behaviour was to redirect to the home page of the app once login was successful on calling done after the custom logic gets executed.

Reproduction

If we call the done function within 60 seconds of getting the login ticket, the call is successful and works as expected. If the execution of the custom logic takes more than 60 seconds (which it can take as it is a manual step and requires user intervention) we see the following error:

E/OAuthManager: Error, access denied. Check that the required Permissions are granted and that the Application has this Connection configured in Auth0 Dashboard. I/Failure: a0.invalid_configuration

Please provide the following:

  • Version of Auth0.js used:
  • 9.16.0
  • Which browsers have you tested in?
  • chrome in Android and safari in iOS
  • Other modules/plugins/libraries that might be involved:

rahlawat avatar May 23 '22 10:05 rahlawat

Thank for raising this @rahlawat and thanks for your patience.

Can I see what code you're using to interact with the SDK and what parts of our API you're using?

Getting a login ticket is only the first part of the flow, there's a second part to the flow where the login ticket is send to the /authorize endpoint at Auth0's end but that should happen in one step, at least from the perspective of SDK usage.

stevehobbsdev avatar Jun 10 '22 10:06 stevehobbsdev

Closing for now, but happy to continue the conversation if there's anything we can help with.

stevehobbsdev avatar Sep 09 '22 10:09 stevehobbsdev