vue3-google-signin icon indicating copy to clipboard operation
vue3-google-signin copied to clipboard

Need token's iat and exp as part of DecodedGoogleUser

Open raevilman opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Can we have JWT token's iat and exp fields as part of DecodedGoogleUser?

Describe the solution you'd like If you are fine with having these two fields as part of the DecodedGoogleUser, I can send a PR for same. Something like below:

export interface DecodedGoogleUser {
  email: string;
  email_verified: boolean;
  hd: string;
  family_name: string;
  given_name: string;
  name: string;
  id: string;
  picture: string;
  issued_at: number;
  expires_at: number;
}

raevilman avatar Mar 13 '24 07:03 raevilman

Sure, you can do a pr

kasvith avatar Mar 13 '24 08:03 kasvith

Done. #68

raevilman avatar Mar 13 '24 08:03 raevilman

thank you

kasvith avatar Mar 14 '24 19:03 kasvith