#mesei81-connect
1 messages · Page 1 of 1 (latest)
If the url without any params, I don't know which account has completed the register flow
The page that the redirect url refer to just can show the common information, it can't show the information relate with the account.
you could change the return_url you pass when creating the account link to include the account ID then if you need that!
you probably want a more robust authentication though, like cookies in the user's browser so you can identify them
emm.. cookies?
what's the question?
nothing. Let me think about it.
to be clear you can do things like
const accountLinks = await stripe.accountLinks.create({
account: account.id,
refresh_url: 'https://example.com/reauth',
return_url: `https://example.com/return?account=${account.id}`,
type: 'account_onboarding',
});
but overall for most integrations, you're going to need some kind of authentication in general so that you can map users of your system to their corresponding Stripe account IDs reliably.