Question

Using oauth2 with React

  • 7 September 2023
  • 0 replies
  • 68 views

I’m implementing an app integration with oauth2 where my server is issuing an access token to zapier. Upon clicking connect I redirect to my applications frontend with a login screen to validate the user and go through the oauth2 flow. The access token is issued and the test endpoint works. My issue is when the user hits the approve button my server responds with a redirect url which I redirect with 

window.location.href = response.redirectUrl

At this point you can see the zapier screen for a short second and the window closes. Is this what is supposed to happen? I assume it’s displaying some sort of success message (since it works). But it seems like kind of a bad user experience since there’s no real validation that the connection worked.


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.