Auth0 Home Blog Docs

Auth0 RefreshToken --> Getting Claims From a Refresh (Xamarin.FORMS)

Hello Auth0 Community!

I have Auth0 authentication running in a Xamarin.FORMS app. The scope passed in my Auth0 client options includes “offline_access”, “profile”, “email” (getting the users name and email).

I am securely storing the RefreshToken and re-using it to sign into the application automatically whenever possible.

My question is:

  • Is there anyway to fetch the “profile” and “email” values using the RefreshToken() call? Right now, I see that only the IDToken and AccessToken are returned.

The only option I am seeing is to securely store the user name and email, alongside the refresh token, when I initially authenticate…

Really appreciate any best practice direction or advice on this.