question

Hiroaki Komatsu avatar image
Hiroaki Komatsu asked

How can I login just via Username and Password?

I needed to login using just the username and password.

I am using the latest Unity and Playfab SDK.

Is that possible?

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

·
Seth Du avatar image
Seth Du answered

Yes, it is possible. If the developer only provides RegisterPlayFabUser for players to register accounts, the only identity that can be used to login is the username and password.

However, if this account is linked with any other 3rd party platform accounts like Facebook, steam…, the thing you can do is not providing corresponding login related APIs in the game client and set the LoginWithPlayFab with the highest priority for login.

Moreover, you can even forbid those login APIs like LoginWithFacebook and etc. by configuring API policy via Admin API UpdatePolicy. Please refer to: https://docs.microsoft.com/en-us/gaming/playfab/features/config/gamemanager/api-access-policy.

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.