stripe / connect-js

Loading wrapper for Connect.js
https://stripe.com/docs/connect/get-started-connect-embedded-components
MIT License
20 stars 8 forks source link

Initial embedded onboarding redirects to hosted UI #124

Open msn444 opened 3 months ago

msn444 commented 3 months ago

***Originally posted in the furever demo repo, but this is probably the better place for it:

The docs for connect.js Embedded Onboarding states "your connected accounts interact with the embedded component without ever leaving your application". Yet in the Furever demo, and my own experience, the account-onboarding component simply launches a new tab with a Stripe-hosted onboarding flow, which collects the email address and phone number. It then returns to the app to complete the rest of the flow, embedded as it should be.

Is it not possible to embed the "Let's get started" part of the onboarding?

https://github.com/stripe/stripe-connect-furever-demo/issues/175

jorgea-stripe commented 3 months ago

More on this documentation: https://docs.corp.stripe.com/connect/get-started-connect-embedded-components#user-authentication-in-connect-embedded-components

In short, all account configurations will require user authentication for onboarding, except custom. For custom, currently the only way to bypass popup authentication is to disable the external_account_collection feature.