#Themax1-returnURL

1 messages ยท Page 1 of 1 (latest)

timber echo
twin axle
#

something like that

#

because it says that I cannot use something different from https and http

#

so how I going to return to my app?

#

if app is actually something like this myapp://

twin axle
#

and how I going to redirect after I finish the form

#

to my app

#

if is not https or http

reef breach
#

@twin axle sorry for the delay. We don't support mobile URL schemes today. We expect you to redirect to your server where you would handle the redirect and possibly re-create a new AccountLink (which can't be done in a mobile application)

twin axle
#

so when he finish the onboarding proccess what should I do?

#

for a better user experience

reef breach
#

You redirect them to your server, there you check the state of their account for example to make sure they are all set and then your own code can redirect back to your mobile app

twin axle
#

ohhh

#

in my backend I redirect the user to my app?

#

I didn't know that was possible

reef breach
#

yes you control all of this it's your code

twin axle
#

hmm interesting, going to try out them

#

it's going to support mobile return URL in the future? because it was going to be really good

reef breach
#

We could, but it's a bad idea

#

AccountLinks have a short life and can only be used once. This means whenever someone loads that URL, if anything happens (change the locale, reloads the page, gets stuck, etc.) they go back to refresh_url where you generate a brand new one. If we did a deep link to your app you'd have to go back to your server, re-create a new link, go back to the mobile app, redirect, etc. It's just not a good user-experience

#

we could do this just for return_url but it'd be confusing

twin axle
#

yep

#

for return url you be good

#

because when he finishes the onboarding proccess

#

he goes back to the app

#

instead of the refresh url

#

refresh url could look to the backend server and generate new link

#

but i think return url you be a good one

#

because in mobile, to open this link, you have to throw the user on a app-in-browser or open any browser

#

so refresh-url can't be used

twin axle
reef breach
#

sounds good

twin axle
#

yeah, but only thing bothering me is the return url to go back to the app

#

or something like that

#

I going to look how can I do something with my backend

#

ty for the help and your time