question

developer-4 avatar image
developer-4 asked

Verify user email manually or by server API.

Sometime, user just don't receive our verification email. But we could see we sent the email successfully in our mail server log. Is there some api could let game manager to verify user's mail manually, or by some server api call? Thanks!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Rick Chen avatar image
Rick Chen answered

There is no API that could verify user’s mail. For security reason, the users should verify their mail by clicking the link in their verification email. If they cannot receive the email, please ask them to check their junk mail or ask them to request resending verification email.

A tricky way to verify user’s email is that, you could perform the “clicking the email verification link” for user. An example verification link looks like:

https://{ {titleid}}.playfabapi.com/EmailConfirmation/Confirm/?token={ {token}}&titleId={ {titleid}}&templateId={ {templateId}}

Please refer to: Check that the email was sent

if you know the titleid, token, and templateId, you could replace those info on the link and visit the link and do the verification for the user.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dan Kardell avatar image
Dan Kardell answered

Why is there no SendEmailVerification API. What if I need to RESEND the email because the users deleted it or never received it for some reason?

,

Why is there not a simple "SendEmailVerification" like there is for ForgottenPassword. If the user deletes the email by mistake how do you resend it?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matthew Draper avatar image Matthew Draper commented ·

We are about to roll out email verification, and I suspect that this will be an issue for us too - If a user misses or deletes the email somehow, there is no way to resolve that for them.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.