Adding in uid or uname to jwt when using the sdk

Hello, I need in my jwt the uid, uname, and email claims for SSO into a 3rd party platform. Currently our jwt has name, and some other claims but not these.

We use the sdk for a custom sign in page. The endpoint we are hitting is the auth0.WebAuth(config).login(othercfg)

Config has omain: config.auth0Domain, clientID: config.clientID, redirectUri: config.callbackURL, responseType: 'code'

othercfg is just the dbConnection, username, and password.

From reading the documentation it seems the jwt should at least contain the email claim since im not specifying what scope in the sdk.

Is there something im missing? How do I get those fields on the JWT.


Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?