fix: handle webviews
This commit is contained in:
@@ -18,8 +18,8 @@ export type TrackingSDKPageData = {
|
||||
}
|
||||
|
||||
export enum LoginTypeEnum {
|
||||
Email = "email",
|
||||
MembershipNumber = "membership number",
|
||||
email = "email",
|
||||
"membership number" = "membership number",
|
||||
// MagicLink = "magic link",
|
||||
}
|
||||
export type LoginType = keyof typeof LoginTypeEnum
|
||||
|
||||
Vendored
+3
@@ -1,3 +1,5 @@
|
||||
import { LoginType } from "./components/tracking"
|
||||
|
||||
import type { DefaultJWT } from "next-auth/jwt"
|
||||
|
||||
import type { RefreshTokenError } from "./authError"
|
||||
@@ -10,5 +12,6 @@ declare module "next-auth/jwt" {
|
||||
access_token: string
|
||||
expires_at: number
|
||||
refresh_token: string
|
||||
loginType: LoginType
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user