#iamyounus_code

1 messages ยท Page 1 of 1 (latest)

opaque bearBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351852920672358423

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

spice bridgeBOT
craggy acorn
#

Hi there ๐Ÿ‘‹ can you tell me a bit more about the behavior that you're seeing? Do you have a screenshot showing where the email value that your'e referring to is remaining, so I can better understand what your concern is?

vital vapor
#

yeah sure

#

As soon as Stripe element loads it loads that link with pre-filled value , now this email was not used by this user but another user using this same browser .

Steps were following:
User 1 logged in pay using link and then logged out of app
User 2 logged in try to pay and link is already prefilled with previous user email

craggy acorn
#

Are you using the Link Authentication Element in your flow, or just the Payment Element?

vital vapor
#

payment element

craggy acorn
#

Can you break down your testing steps for me more? I'm testing against my test page, and I'm not seeing what you're describing.

Steps I'm taking:

  • Access a page with a Payment Element integration
  • Provide an email address associated with a Link account.
  • Completing the 2FA challenge
  • Refreshing the page
  • At this point I see the email address prefilled, and that is expected behavior as the presence of an existing Link cookie is detected.
  • Log out from Link (I did this from with the Payment Element)
  • At this point I no longer see the previously used email address, nor do I see it populated when I refresh the page
opaque bearBOT
vital vapor
#

Yeah on logout it is logging out .

My case is in my app when I logged in as user A and use link then I logged out of my app not link and then logged in back using User B creds then it is prefilled with that user A email.

Now i guess link are tightly tied with out browser session that is it detects same browser and show me that email

craggy acorn
#

Yes exactly, the Link session is not tied to any user authentication on your end. Link sets and checks its own cookies in the browser for tracking whether a customer is logged into a Link account.

If you're using a flow where multiple customers will be using a single device/browser to complete payments, that's likely not a good use case for Link unless you can forcibly clear the browser's cookies in between customers.

vital vapor
#

can we clear cookies on logout and get rid of it from our end because those cookies are set from stripe server

gusty kayak
#

To confirm, you want a kill to end an active Link session?

vital vapor
#

can we? I just need to experiment few things I know it sounds stupid and kill whole purpose of link itself

gusty kayak
#

That's not supported no