Auth0 Home Blog Docs

Intermittent Failures using PKCE


I am having trouble implementing a PKCE grant process as described here.

I have a client-side native app where the user get a token using the PKCE flow, then use that token to validate their transactions with the API, with Google being used as the identity provider. Unfortunately I randomly get an error telling me there was an error exchanging my code for a token, with the acronym “FEACT” on the error message.

In the Auth0 logs there is usually a pattern with “succesful login” followed by “failed exchange”. I would paste images but unfortunately my logs seem to have vanished.

I don’t have a problem using other types of authorization (such as application to application), and I can’t seem to figure out a pattern as to when the authorization fails or succeeds. On top of that, the error message that auth0 provides is vague and unhelpful, so I don’t know what is going on. I have found a few other references to people with my issue, but unfortunately none of them have a solution.


Hey @undivided,

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

closed #4

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