Closed Leykwan132 closed 2 years ago
I was still unable to log in even after clearing cache on macOs. Anyone facing this issue?
Hi, I hope this will help))
Step 1. import { gapi } from 'gapi-script' Step 2. use this code in your Auth component
useEffect(() => { function start() { gapi.auth2.init({ client_id: clientId }) } gapi.load('client:auth2', start) })
That did the magic! Thank you so much!
That did the magic! Thank you so much!
You are welcome ))
I was still unable to log in even after clearing cache on macOs. Anyone facing this issue?