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

React Hook for Token Auth #1566

Open
joynerd opened this issue Dec 3, 2022 · 0 comments
Open

React Hook for Token Auth #1566

joynerd opened this issue Dec 3, 2022 · 0 comments

Comments

@joynerd
Copy link

joynerd commented Dec 3, 2022

I wrote the following to make fetch work well with this library using react:

https://gist.github.com/joynerd/f0b386c6d25647ec7c4839cd60024e54

I wanted to double check that I am accessing the auth endpoints correctly, but I also thought others would find this useful.

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

No branches or pull requests

1 participant