#Yetzederixx - Validate Return or Refresh URL
1 messages ยท Page 1 of 1 (latest)
This in particular is for express account onboarding
Hi ๐
Hey there ๐ I believe there is (to an extent) bear with me a moment while I try to find the documentation that talks about it
It doesn't have to be super duper secure, just something to ease my paranoia of open endpoints
Ah, the initial approach I was thinking of was for the older onboarding flow. While not foolproof, you can check the referrer header that is provided on the request. When I tested coming from the Express onboarding flow just now, that header had a value of https://connect.stripe.com/
Cool, thanks
You can also append unique query params to the end of your return URL and ignore requests that don't have those params or invalid values for them.
True, I'm already doing that so I can do some callback shenanigans, thanks again for your help.