Auth0 Home Blog Docs

Strange issue using .netClient



So i have downloaded the client and i’m using that to implement an SSO.
It seems to exchange the code for the token just fine but when i use the token itself to pull down the profile of the user i get this strange error and i’m not sure what to make of it.

The line in question can also be found on the LoginCallback sample but here it is:

var profile = client.GetUserInfo(token);

ErrorUnexpected character encountered while parsing value: T. Path ‘’, line 0, position 0.


You should update your question with the exact version of the .NET Auth0 packages that you’re using and also any code snippets of relevant authentication related logic in case you performed any modifications.