i was wondering how to specify the redirect url for a google sign-in button, here is the button:
As of June 2020, can you do it like this. Documentation : https://developers.google.com/identity/sign-in/web/reference
function renderButton() {
gapi.signin2.render('my-signin2', {
'scope': 'profile email',
'width': 240,
'height': 50,
'longtitle': true,
'theme': 'dark',
'ux_mode': 'redirect',
'redirect_uri': 'REDIRECT URL HERE',
'onsuccess': onSuccess,
'onfailure': onFailure
});
}