Open vaibhava17 opened 2 years ago
I have same issue
I'm getting
"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."
then
popup_closed_by_user
I have same issue.... help ㅠㅠㅠ
I solved this problem with @react-oauth/google
I had this problem while testing this on localhost:3000
Solved it by 1. Clearing cache
2. Enabling cookies for localhost:3000
3. Making OAuth consent screen internal ( as I'm testing local)
I had this problem while testing this on localhost:3000
Solved it by 1. Clearing cache
2. Enabling cookies for localhost:3000
3. Making OAuth consent screen internal ( as I'm testing local)
@ezra-moses thanks. I will try this and inform you guys
I solved this problem temporarily by doing the following.
npm i gapi-script
import { gapi } from 'gapi-script';
gapi.load('client:auth2', () => {
gapi.client.init({
clientId: process.env.REACT_APP_GOOGLE_OAUTH_CLIENT_ID,
plugin_name: 'chat',
});
});
Having the same issue, any updates on this?
I solved this problem temporarily by doing the following.
npm i gapi-script
- Import the gapi-script package in your App.js
import { gapi } from 'gapi-script';
- In App.js, add the following line
gapi.load('client:auth2', () => { gapi.client.init({ clientId: process.env.REACT_APP_GOOGLE_OAUTH_CLIENT_ID, plugin_name: 'chat', }); });
This worked for me. thank you.
I solved this problem temporarily by doing the following.
npm i gapi-script
- Import the gapi-script package in your App.js
import { gapi } from 'gapi-script';
- In App.js, add the following line
gapi.load('client:auth2', () => { gapi.client.init({ clientId: process.env.REACT_APP_GOOGLE_OAUTH_CLIENT_ID, plugin_name: 'chat', }); });
Thank you!!!
Found this npm package https://www.npmjs.com/package/@react-oauth/google It works and has a detailed documentation
facing same issue. Is there any other way
Same here.
Showing Error {error: 'popup_closed_by_user'} all the time