Question

How do I manage multiple OAuth 2.0 connections in a new Zapier integration and differentiate between them?

  • 14 April 2024
  • 2 replies
  • 15 views

Userlevel 1

I’m prototyping a new Zapier integration. We want to allow customers to create multiple connections to our application using the OAuth 2.0 flow. We want to display the connections on our website similar to how Zapier displays connections under the app folder. However, we cannot tell the difference between when an OAuth 2.0 flow is initiated for creating a new connection or refreshing an existing connection. So if we had a list of a connections on our end we wouldn’t know if we should insert the connection into our database or update an existing connection.

 

Is is possible to obtain a “connectionId” or configure Zapier to pass a connectionId or something similar whenever an OAuth 2.0 flow is initiated, either for the update an existing connection scenario or creating a new connection?

 

Or is this not possible to do or against best practices to display multiple connections if there are.


2 replies

Userlevel 7
Badge +14

Hi @Code Monkey 

If you are building a Zap app integration on the Developer Platform, then try posting your topic in the Developer Zone category: https://community.zapier.com/p/developer-zone

Userlevel 1

Oh good call, Troy! Reposting it there!

Reply