e8d3292486
* feat(server): block gmail signup with google sso * feat(server): allow signup with an invite even if its gmail * fix(server): use lower case and trim for emails
11 lines
389 B
TypeScript
11 lines
389 B
TypeScript
export const ExpectedAuthFailure = {
|
|
UnverifiedEmailSSOLoginError: 'UnverifiedEmailSSOLoginError',
|
|
UserInputError: 'UserInputError',
|
|
InviteNotFoundError: 'InviteNotFoundError',
|
|
InvalidGrantError: 'InvalidGrantError',
|
|
BlockedEmailDomainError: 'BlockedEmailDomainError'
|
|
} as const
|
|
|
|
export type ExpectedAuthFailure =
|
|
(typeof ExpectedAuthFailure)[keyof typeof ExpectedAuthFailure]
|