Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

SignIn is deprecated for new client application #526

Open
jaipatel248 opened this issue Jun 24, 2022 · 9 comments
Open

SignIn is deprecated for new client application #526

jaipatel248 opened this issue Jun 24, 2022 · 9 comments

Comments

@jaipatel248
Copy link

jaipatel248 commented Jun 24, 2022

`{

"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."
}`

@siyahulhaq-ceymox
Copy link

Same issue happening for me also

@jaipatel248
Copy link
Author

You can use @react-oauth/google package. It's working for me

@tuanlaht
Copy link

tuanlaht commented Jul 7, 2022

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

@jaipatel248
Copy link
Author

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

@MomenSherif
Copy link

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.

@nhat-em-wick
Copy link

i use @react-oauth/google but not response tokenId, how to get tokenId?

@MomenSherif
Copy link

@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

@jaipatel248
Copy link
Author

jaipatel248 commented Jul 11, 2022

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

@lightwave
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants