Skip to main content
Best answer

When I connect a new account, it's already logged in


alexb
Forum|alt.badge.img

Hi Zapier. I’m in the process of developing a Zapier integration, and have a small issue. Everytime I try to connect a new account (when building a test-zap) - I use this button “Connect a new account”:

 

Then for a short period of time, this window appears:

 

And if I’m already logged in, the window closes again!

To fix this, I can create new accounts in Incognito window - but is it possilbe to set-up the oAuth flow so that it does auto-log in to the already connected account (so the button can work as intended)? 

Best answer by alexbBest answer by alexb

That is probably what happens, and in 9/10 cases I think it makes sense.

I will use incognito - but would love to see some kind of logout before trying to get the token.

 

Thanks again :)

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • January 9, 2021

@alexb I think you’ll have to log out from your service before adding a new OAuth connection. I believe the reason why the window closes itself is that when you’re logged in, the API automatically calls the redirect_uri which signals Zapier to fetch the access token for the already logged in account.


alexb
Forum|alt.badge.img
  • Author
  • Tinkerer
  • 16 replies
  • Answer
  • January 9, 2021

That is probably what happens, and in 9/10 cases I think it makes sense.

I will use incognito - but would love to see some kind of logout before trying to get the token.

 

Thanks again :)


ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • January 9, 2021

You’re welcome :)

Well, I think Zapier can do nothing about this because it has no access to other site cookies or storage in your browser. So yeah, Incognito should be the way to go!