question

stevenbalderrama avatar image
stevenbalderrama asked

Create Registration verification confirmation

Hello,

Trying to search up if Playfab has a way once a user has registered, if an email can be sent to confirm registration, and if someone receives the email and clicks a link, then the account is fully registered and confirmed, i have it right now as, the user can register, but if possible if an email can be sent to the email that it has been registered to either confirm, or at least notify the user that the email they used is now registered, is this possible on maybe a rule or cloud script?

I do see on "Rules" tab, then to event type: "com.playfab.player_verified_contact_email" but not sure if that is the right one?

entities
10 |1200

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

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

To learn more about the full process of contact email verification, you can check this document -- Using a Rule to Verify a Contact Email Address - PlayFab | Microsoft Docs. But this feature should be different from your expectation. The registration feature provided by PlayFab can’t be pending. Once players registered the PlayFab accounts, they can login to PlayFab no matter whether the contact email is verified or not. And players can only verify their contact emails after registering.

Besides, in PlayFab, the login email and the contact email are different things. According to your description, your requirement should be verifying the validation of the player’s login email in some step of the registration, only when the login email is real and owns the caller, will you allow the registering completed, is it right? If so, we don’t provide such features to verify the authenticity of login emails to determine whether this account can be registered completely or not. We can only verify the format of the login emails and if it is existed already. If the login email is used by another account, the register API will return the corresponding error to inform players.

For summary, we provide the feature to verify the contact emails player add to their accounts after registering, but the valid emails are not the necessary condition for registering account. If you can accept it, the status of the contact email verification can be a flag that shows the email is confirmed or not. You can call the API GetPlayerProfile, set the ProfileConstraints.ShowContactEmailAddresses of the request body of true to retrieve the specific contact email and the verification status of it.

10 |1200

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

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.