-
Notifications
You must be signed in to change notification settings - Fork 970
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
Update custom auth generator to generate auth client #3617
Comments
@doesnotexist - you might be interested in this one :) |
@dac09 I am, let me take a closer look in the next few days. |
Also, I think this issue dovetails nicely with #1585 |
Hi all! Any further thoughts about this one? Especially when/if to prioritize it on the roadmap? |
Sorry, I haven't had a chance to really look into this or the related issue. I'm happy if anyone else wants to take a crack, otherwise I'll try to come back to it in a few weeks time. |
Work on this is ongoing in #5985 Most things in Danny's list are already handled. Only thing I'm not doing is anything that touches stuff on the api side |
What?
Currently the custom auth generator just changes App.tsx/js with the Auth provider, and generate src/lib/auth for the API side
However, its missing a crucial piece - generating the "scaffold" or an unimplemented custom auth client for the web side
Why?
Often when you create a custom auth, you're looking for more control over the methods used to login/signup/logout - even if its a provider that we officially support.
Things to consider
useAuth
uses custom client (or generate a customUseAuth hook)The text was updated successfully, but these errors were encountered: