#daimyotoan-accountlinks

1 messages · Page 1 of 1 (latest)

limber atlas
#

@feral hemlock we archive the threads because we need to hand over between members of my team, and I really can't go get context from a thread from last week unfortunately.

If you have a question, happy to answer, what's up?

feral hemlock
#

ok

#

i've used the api for account link creation

#

and got the return url. however when i open that link, it seems to be expired and redirect to the page

#

i've explained this to wsw last week and he was also surprise

limber atlas
#

oh yeah that

#

our best guess is that it's because you're sharing the link somewhere(like Slack or Discord), and you know how those services show a preview popup thing? That preview is probably 'consuming' the link.

feral hemlock
#

how to implement the refresh_url

#

do you have the document or example for it

limber atlas
feral hemlock
#

i've read that but not sure what we need to do,hmmm

limber atlas
#

there's an example there.

feral hemlock
#

ok

limber atlas
#

see how it sets failure_url: config.publicDomain + '/pilots/verify' , where pilots/verify is just the current route? (also failure_url is an old name in an old API version unfortunately, but just pretend it's refresh_url)

#

all you do is provide a URL which does the same thing as you're already doing — calling the API to create an AccountLink, and redirect to it. So in that example it's just passing exactly the same route.

feral hemlock
#

ok

#

let me try that