Open jaipatel248 opened 2 years ago
Same issue happening for me also
You can use @react-oauth/google package. It's working for me
You can use @react-oauth/google package. It's working for me
How did you logout ?, i use @react-oauth/google but it already login by default google account of brower
You can use @react-oauth/google package. It's working for me
How did you logout ?, i use @react-oauth/google but it already login by default google account of brower
I guess they don't have this feature
Hello @bileanh2000 @jaipatel248 Google is no longer manage user session, so If you can log them out with your own logic to update your state any time you want.
i use @react-oauth/google but not response tokenId, how to get tokenId?
@nhat-em-wick If you want to get id_token
specifically you will need to use Authorization code flow
within useGoogleLogin
and will require backend
https://react-oauth.vercel.app/ You can follow Authorization -> Authorization code flow
i use @react-oauth/google but not response tokenId, how to get tokenId?
you need to use Authorization code flow it will give you key named code
you can use to get access_token and refresh_token from the backend
i use @react-oauth/google but not response tokenId, how to get tokenId?
you need to use Authorization code flow it will give you key named
code
you can use to get access_token and refresh_token from the backend
id_token
is not the same as access_token
`{
"error": "idpiframe_initialization_failed", "details": "You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the Migration Guide for more information." }`