question

Wladyslaw Jewloszewicz avatar image
Wladyslaw Jewloszewicz asked

Deny CreateAccount in LoginWithCustomIDRequest

Is it possible to deny the creation of new accounts through the LoginWithCustomIDRequest, but keep the ability for existing users to authenticate in the game?

And how to properly deny any registration, except LoginWithGameCenter and LoginWithGoogleAccount?

I still don't fully understand how to write an api policy correctly :)

apisAccount ManagementAuthentication
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

·
Gosen Gao avatar image
Gosen Gao answered

If you don’t want those login APIs to create a new account. You can set CreateAccount to false to deny this request to register a new account. Please note that ApiPolicy can control whether the API can be called, but cannot limit the request details.

For more info, you can refer to API Access Policy - PlayFab | Microsoft Docs.

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.