feat(auth): handle google oauth account claim conflicts
This commit is contained in:
@@ -119,11 +119,16 @@ export type GoogleOAuthFlowResponse =
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
avatar_url: string;
|
||||
resolution: "new_account" | "existing_email_claim";
|
||||
mobile_hint?: string | null;
|
||||
}
|
||||
| {
|
||||
status: "claim_required";
|
||||
mobile: string;
|
||||
detail?: string;
|
||||
email: string;
|
||||
resolution: "existing_email_claim" | "existing_mobile_claim";
|
||||
mobile_hint?: string | null;
|
||||
};
|
||||
|
||||
export const getGoogleOAuthFlow = async (flow: string): Promise<GoogleOAuthFlowResponse> => {
|
||||
|
||||
Reference in New Issue
Block a user