Developing a Secure API with NestJS

Thank you for your response Dan! I was actually a bit confused about that. My tenant name is: XY. Which is also embedded in the domain listed in the settings for the demo client: XY.auth0.com. So in my .env file, I have AUTH0_DOMAIN=https://XY.auth0.com/, and this is what I use within the strategy:

// jwt.strategy.ts
jwksUri: `${process.env.AUTH0_DOMAIN}.well-known/jwks.json`
issuer: `${process.env.AUTH0_DOMAIN}`,

So it seems like everything is set correctly. But I’m happy to wait until next week for the revised tutorial! I can work on another part of my app until then. Thank you!

2 Likes