auth0-multitenant-website
auth0-multitenant-website copied to clipboard
Sample that demonstrates a simple multi-tenant web application that uses the Authorization extension to manage tenants with groups
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`]
To demonstrate how to set up tenant administrators who can administer their own users