Hi @adhamdoody7813,
Thank you for your response and clarification!
Using Auth0’s Next.js SDK, there are a couple of ways:
- In your
config.ts
file, specify thebaseURL
(Reference: BaseConfig | @auth0/nextjs-auth0) - In your Login Handler, specify the
returnTo
property in the request.
(Reference: LoginOptions | @auth0/nextjs-auth0)
Please let me know if you have any additional questions.
Thanks,
Rueben