Looked all over, tried capturing the code via swift but still need a function to fire off the code to get an Express account to connect.
Won\'t waste your time with
You'll want to do something like this:
https://us-central1-example.cloudfunctions.net/connect_redirect
code
parameter that's included in the query string (request.query.code
), then to complete the connection process, use a HTTP client to POST the appropriate data to https://connect.stripe.com/oauth/token
return
of your Firebase function, either supply a message encouraging the user to close their browser, OR create a redirect, directing the user back to your app (using something like a custom url scheme as the redirect destination)