Login With Play Fab
Signs the user into the PlayFab account, returning a session identifier that can subsequently be used for API calls which require an authenticated user. Unlike most other login API calls, LoginWithPlayFab does not permit the creation of new accounts via the CreateAccountFlag. Username/Password credentials may be used to create accounts via RegisterPlayFabUser, or added to existing accounts using AddUsernamePassword.
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| InvalidSignature | 1273 |
| InvalidUsernameOrPassword | 1003 |
| RequestViewConstraintParamsNotAllowed | 1303 |
Body
Username and password lengths are provided for information purposes. The server will validate that data passed in conforms to the field definition and report errors appropriately. It is recommended that developers not perform this validation locally, so that future updates to the username or password do not require client updates.
Username and password lengths are provided for information purposes. The server will validate that data passed in conforms to the field definition and report errors appropriately. It is recommended that developers not perform this validation locally, so that future updates to the username or password do not require client updates.
Password for the PlayFab account (6-100 characters)
Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a title has been selected.
PlayFab username for the account.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
Flags for which pieces of info to return for the user.
