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

Feature request: support password auth in useAuth0 hook #917

Open
5 tasks done
chriszs opened this issue Jun 6, 2024 · 1 comment
Open
5 tasks done

Feature request: support password auth in useAuth0 hook #917

chriszs opened this issue Jun 6, 2024 · 1 comment
Labels
feature request A feature has been asked for or suggested by the community

Comments

@chriszs
Copy link

chriszs commented Jun 6, 2024

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

I'd like to use the useAuth0 hook, but it doesn't support password realm, which makes it unusable for my app.

Describe the ideal solution

useAuth0 returns a password login method that works like all the other auth methods.

Alternatives and current workarounds

I could re-write the hook in my app.

Additional context

I'm aware it seems to have been deliberately excluded, I have to assume either because there's some issue implementing it or it is discouraged, but password login is part of the app's requirements, and I suspect a requirement for many others.

@chriszs chriszs added the feature request A feature has been asked for or suggested by the community label Jun 6, 2024
@mprevdelta
Copy link

Have you tried using the "connection" parameter in the call to authorize() to point to one of your database connections? Make sure to use the database name as the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

No branches or pull requests

2 participants