You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"TypeError: Cannot read property 'map' of undefined"
auth0-multitenant-website/routes/tenant.js:11
Could this be because the PORT isn't included?
var groups = req.user._json[http://${process.env.ROOT_DOMAIN}/claims/groups]
should it be
var groups = req.user._json[http://${process.env.ROOT_DOMAIN}:${process.env.PORT}/claims/groups]
The text was updated successfully, but these errors were encountered:
Hi,
I'm getting
"TypeError: Cannot read property 'map' of undefined"
auth0-multitenant-website/routes/tenant.js:11
Could this be because the PORT isn't included?
var groups = req.user._json[
http://${process.env.ROOT_DOMAIN}/claims/groups
]should it be
var groups = req.user._json[
http://${process.env.ROOT_DOMAIN}:${process.env.PORT}/claims/groups
]The text was updated successfully, but these errors were encountered: