Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Injectable Auth0Client #817

Closed

Conversation

arctic-acadian
Copy link

@arctic-acadian arctic-acadian commented Dec 3, 2024

Description

This PR introduces changes to enable dependency injection for the Auth0 client, while maintaining backward compatibility with existing functionality.

The goal is to allow the Auth0 client to be used outside of the React lifecycle, such as in React Router data loaders, without impacting current behavior.

There are no breaking changes introduced, and the API remains the same for users relying on the current behavior.

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

@arctic-acadian arctic-acadian requested a review from a team as a code owner December 3, 2024 03:35
@arctic-acadian
Copy link
Author

Alternatively we could make a breaking change to enforce dependency injection for the Auth0 client.

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.

1 participant