Google OAuth ID Token
Google OAuth2 ID token claims with email, name, picture, and verification.
google
Install
$ npx shadcn@latest add @open-types/google-oauth-id-token
Source
export interface GoogleOAuthIdToken {
iss: string;
azp: string;
aud: string;
sub: string;
email?: string;
email_verified?: boolean;
name?: string;
picture?: string;
given_name?: string;
family_name?: string;
locale?: string;
iat: number;
exp: number;
}
export interface GoogleOAuthIdToken {
iss: string;
azp: string;
aud: string;
sub: string;
email?: string;
email_verified?: boolean;
name?: string;
picture?: string;
given_name?: string;
family_name?: string;
locale?: string;
iat: number;
exp: number;
}