Releases: joselfonseca/lighthouse-graphql-passport-auth
Releases · joselfonseca/lighthouse-graphql-passport-auth
Emit event on registration
If the user needs to verify email, still emit the event for registration to be able to attach listeners when a user registers.
Conditional migration column
Please see
Mark email verified on social login
Merge pull request #54 from joselfonseca/analysis-YjOaEy Apply fixes from StyleCI
Implement Verify Email
Breaking change
The schema for registration now has a tokens object for when email verification is not needed.
type RegisterResponse {
tokens: AuthPayload
status: RegisterStatuses!
}
enum RegisterStatuses {
MUST_VERIFY_EMAIL
SUCCESS
}
The tokens are generated if the email verification is not needed, if it is needed the tokens are not generated and the status will be MUST_VERIFY_EMAIL
- Implemented email verify
Bug Fixes
Socialite Support
Support Passport 8
Fixes #36