ClaimsPrinciple=null

Not getting any access to any of the access token attributes that we see in the logs/users catergory. All we are getting when trying to access any of the componets are null values. User is successfuly being authenticated but no access to any of the values.

Here is our Lock widget settings/Values:
var webAuth = new auth0.WebAuth({
domain: ‘lssp.auth0.com’,
clientID: ‘VLguJE3BK0C6TAFVkS4JaoNQsfac7VUp’,
redirectUri: ‘http://localhost:51102/About.aspx’,
audience: ‘https://lssp.auth0.com/userinfo’,
responseType: ‘code’,
scope: ‘openid profile email’
});

Here is our attempt at retrieving the values:
string name = ClaimsPrincipal.Current.FindFirst(“name”)?.Value;
Label1.Text = name;

Any ideas what could be making us get nothing as values in the end?

From the looks of your redirectUri, you aren’t handling the code exchange in your middleware to obtain a valid id_token. If you are using the Auth0-ASPNET package, the middleware will be configured at /LoginCallback.ashx, which is what your redirectUri should be set to. Only after the code exchange has been completed to obtain an id_token, will you be able to access the claims. I suggest looking at the following Quickstart and examples:

https://auth0.com/docs/quickstart/webapp/aspnet/01-login