How to query Token and TokenID in confirmation URL

How do you query the Token and TokenID from the confirmation URL sent when registering a user?

Currently working in iOS. I am able to send the confirmation email successfully. Just do not know how to query the Token and TokenID from the URL.

Thanks!

1 Like

Hi @Radis,

As far as I know the link should point back to.a module in your application which will extract the values from the query parameters.

Those are appended to the end of the configured confirmation URL.

The way to do it depends on your programming language. For iOS we recommend to review universal linking for your application:

https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html

As mentioned in our docs.

Thanks
Pavel

1 Like

Thanks Pavel.

I was able to query from the confirmation link sent in email on a webpage and then I ran emailPasswordAuth.confirmUser(token, tokenId); on my client from that webpage.
This worked just fine. Thanks!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.