I’m struggling with implementing Oauth in my app’s user creation.
Target flow is:
- User signs up
- User authorizes an API connection to their own Zendesk instance
- User can fetch a sample of data.
After a new user signs up, how do I trigger the authentication flow for Oauth2 Password? I can create a button pointing to the auth URL for the API I’m working with, but that doesn’t seem to use the API Connector. And I’m unsure if I need to store the returned token or if the API Connector has a way of doing that.
I’ve looked through any lesson and example I could find, but none that I could find have implemented any user facing Oauth2 as far as I can see.
I created a sample app of what I’m trying to do: https://bubble.io/page?name=index&id=api-connector-uc&tab=tabs-1
What do I need to add (elements, workflows, API config) to allow a user to complete the Oauth 2 Password flow?
I’m not new to working with APIs and I can figure out how get the calls to return the data I’m looking for. My problem is that I don’t understand the basics of how I build the UI and workflows in Bubble.is to let users authenticate using either of the OAuth2 methods. I may need the crayon version here.