tony
09/17/2025, 3:01 PMundefined on the server and client side.
Did we miss a setting in the console?Chris Carper
09/17/2025, 5:58 PMtony
09/17/2025, 8:18 PMHugo Villanueva
09/17/2025, 8:54 PMHugo Villanueva
09/18/2025, 2:52 PMuser key which makes me think we're doing the mapping correctly.
{
"claims": {
"amr": [
"fed"
],
"dct": "tenantName"
},
"cookieDomain": "",
"cookieExpiration": 1760626095,
"cookieMaxAge": 2419199,
"cookiePath": "/",
"firstSeen": false,
"idpResponse": null,
"refreshJwt": "REDACTED",
"sessionExpiration": 1758207495,
"sessionJwt": "REDACTED",
"user": {
"OAuth": {},
"SAML": true,
"SCIM": false,
"TOTP": false,
"createdTime": 1757601389,
"customAttributes": {},
"email": "email@grazzy.com",
"externalIds": [
"email@grazzy.com-tenantName"
],
"familyName": "lastName",
"givenName": "firstName",
"loginIds": [
"email@grazzy.com-tenantName"
],
"middleName": "",
"name": "email@grazzy.com",
"password": false,
"phone": "",
"picture": "",
"push": false,
"roleNames": [],
"ssoAppIds": [],
"status": "enabled",
"test": false,
"userId": "someId",
"userTenants": [
{
"roleNames": [],
"tenantId": "tenantName",
"tenantName": "Some Tenant"
}
],
"verifiedEmail": true,
"verifiedPhone": false,
"webauthn": false
}
}Chris Carper
09/23/2025, 3:47 PMundefined occurring? Within your client, once you've successfully authenticated, are you checking the user details via the useUser or me endpoints? Or are you looking directly at the user's JWT token?Hugo Villanueva
09/24/2025, 8:04 PMtenant_id when calling the SSO flow so I think we figured out this issue, now we're going to test setting the tenant_id to match the email domain so that we don't have to worry about having to set this on NextJS.Chris Carper
09/24/2025, 11:15 PMHugo Villanueva
09/25/2025, 2:09 PMChris Carper
09/25/2025, 3:53 PM