-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Implement login hooks #2211
Implement login hooks #2211
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good. Very straightforward, you've built a nice system.
I do have some concerns I left in the comments.
Most important question though: Do we need this? Did someone ask for it?
waspc/data/Generator/templates/server/src/auth/providers/oauth/user.ts
Outdated
Show resolved
Hide resolved
I haven't responded to
Yes! Couple of people on Discord. Without login hooks, you can't really get new access tokens for continued API access. |
Closes #2117
What did we do here
onBeforeLogin
andonAfterLogin
Left to do