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

Adds auth hook headless tests #2022

Open
wants to merge 3 commits into
base: miho-auth-hooks-2
Choose a base branch
from

Conversation

infomiho
Copy link
Contributor

@infomiho infomiho commented May 8, 2024

I've tested what I can (since I can't test the OAuth flow):

  • onBeforeSignup: reject some invalid email
  • onAfterSignup: set property on the user in the DB

I've also extracted some repeated logic into a few helper functions, minor stuff.

Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
@infomiho infomiho force-pushed the miho-auth-hooks-headless-tests branch from 5603963 to 3552c6e Compare May 22, 2024 09:14
@infomiho infomiho force-pushed the miho-auth-hooks-headless-tests branch from 3552c6e to 0580121 Compare May 22, 2024 09:15
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.

None yet

1 participant