Google OAuth via gapi.signin2.render button not hitting callbacks in react app
问题 I have the Google Signin Button properly rendering inside my react component using the gapi.signin2.render method on the latest Google platform web-client api (https://apis.google.com/js/platform.js). But, for the life of me, I can't get it to properly call my success or failure callbacks. The button renders, clicking the button opens the account auth window, clicking a Google account closes the window, but no callback. function myCallback(obj) { console.log(obj); } gapi.signin2.render('my