Search code examples
c#xamarinxamarin.androidauthorizationauth0

Auth0 + xamarin authentification issue: Error redeeming code: Unathorized / no description


I want to login at my xamarin.android application via auth0. I found this tutorial that describes it so nice.

But I have problem with obtaining valid loginResult.

I double checked all of the steps described at article but have next error:

enter image description here enter image description here

  • The code of my app is the same as in the tutorial, so I do not see the point of embedding it.
  • I used JsonWebToken Signature Algorithm RS256 (as pointed at tutorial).
  • I turn on OIDC Conformant (as pointed at tutorial).

Thank you for any help in advance.


Solution

  • Changing type of auth0 application to SPA (single page application) solved my problem. For more info please check this post: auth0 issue on github

    Also, I deselect Refresh token in application advanced settings -> grand types