Reputation: 11
How can I open google sign in pop up with different clicnt_id s in one project? I want to have 2 different logins for mail and calendar. That's why I need 2 different client ids, but google make init only once, and the second doesn't work.
I have tried to call gapi.auth2.init
twice, but second pop up doesn't open. Also I've tried with gapi.auth2.authorize
.
Upvotes: 0
Views: 55
Reputation: 117254
Why would you want two different client id's. Client ids just denote your application to google. If you have two different client ids when you go to verify the application they are without a doubt going to make you remove one.
I question why you would want two different logins, but the solution would be to use two different users.
Upvotes: 0
Reputation: 358
you can use angular environments
try to put a part of your code to see if i can help you a little more
Upvotes: 0