v4 migration and Allowed Callback URLs #2182
-
I've migrated our nextjs app to use v4 of this SDK and one thing I've had to do to get it working is update the Allowed Callback URLs for my app in the Auth0 admin to allow We deploy our application into our customers cloud env, each customer has their own Auth0/Okta that they manage. Does this mean that each customer would need to add this new callback route to their app in their Auth0 admin? Is there a way to configure the middleware to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, yes you should be able to use what is defined here: https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#custom-routes
Then for the two other endpoints:
Let me know if that doesnt work. |
Beta Was this translation helpful? Give feedback.
Hey,
yes you should be able to use what is defined here: https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#custom-routes
Then for the two other endpoints:
/auth/profile
and/auth/access-token
, you can define the following two environment variables:Let me know if that doesnt work.