Open monisha3107 opened 6 years ago
I get the pop-up using Polymer 1 with:
<google-signin
on-google-signin-success="googleSignInSuccess"
client-id="333-foo.apps.googleusercontent.com"
label-signin="Login with Google"
></google-signin>
I am trying to avoid a browser pop-up and use ux_mode='redirect' during init() or signIn() and it seems like I cannot use this as one of the option parameters to either of those methods. Has this been removed/modified?
index.html has this and loads appcomponent.html:
<script src="https://apis.google.com/js/platform.js" async defer></script>
appcomponent.html has this:
And
appcomponent.ts
has the following:This works just fine. But I wanted to not have the pop-up and instead have the user be redirected to another page to select the google account to login with. So, I was trying to specify _uxmode in the signIn() parameters or add in a onLoad() function with init().