You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having some trouble understanding the /confirm endpoint. I am using the /register endpoint to generate a confirmSelector and confirmVerifier and an email. My problem is understanding how to generate a confirm request given that email.
I am trying to base64 encode the cnf token and send it in the request body, but I am receiving an error saying the token size is wrong. I think I'm probably just not understanding the correct process.
Here is an example of the email I am getting back:
Please copy and paste the following link into your browser to confirm your account\n\nhttp://0.0.0.0:3000/v1/auth/confirm?cnf=HBrP32B1BtpoFnCAIapYTWMnbIu_8BkSNCfl0AHEoPSONIVsu5DHs-iQmpTE3YAEmEXDPq32N1w1YciKUv2lXg%3D%3D
I am also logging some information as it is stored
Maybe that can help you out? From your description it's hard to understand exactly what you're trying to accomplish. Are you trying to recreate the token from the e-mail link? Or are you trying to manually re-implement confirms logic?
You mention creating a confirm request which sounds like you're in API mode. In which case the user navigates to your page, you pull the cnf token from the query string and pass it in as cnf to the API endpoint.
Thanks for the response. I was getting super confused. The problem I had was just the URL was coming back with %3D and I was changed those to = characters. I guess this question is not relevant in that case.
I am having some trouble understanding the /confirm endpoint. I am using the /register endpoint to generate a confirmSelector and confirmVerifier and an email. My problem is understanding how to generate a confirm request given that email.
I am trying to base64 encode the cnf token and send it in the request body, but I am receiving an error saying the token size is wrong. I think I'm probably just not understanding the correct process.
Here is an example of the email I am getting back:
I am also logging some information as it is stored
Neither of these look like the cnf string in the email which maybe causing confusion. If you need any more information let me know.
The text was updated successfully, but these errors were encountered: