Skip to content

Conversation

@eliw00d
Copy link

@eliw00d eliw00d commented Dec 9, 2025

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

  • Update the RoutesOptions type definition
  • Update the functions that consume these routes (getAccessToken, useUser) to respect the programmatically configured routes
  • Update the documentation

📎 References

closes #2327

🎯 Testing

In an app that uses @auth0/nextjs-auth0, link to your local clone in the app's package.json as follows: "@auth0/nextjs-auth0": "file:path/to/nextjs-auth0", where path/to is your path to it.

I tested this with a local clone with an app that uses @auth0/nextjs-auth0 and everything works as expected.

Changes
---
- [x] Update the `RoutesOptions` type definition
- [x] Update the functions that consume these routes (getAccessToken, useUser) to respect the programmatically configured routes
- [x] Update the documentation
- [x] Added/updated tests

closes auth0#2327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow customization of /auth/access-token and /auth/profile URLs via Auth0ClientOptions

1 participant