Identity Providers Reference #
Hide a player’s identity providers information #
You can choose which identity providers are visible to other players using the config value visibleToOtherPlayers
.
Below is an example of how to hide the Steam identity provider from other players:
Steam:
class: "pragma.account.SteamIdentityProviderPlugin"
config:
appId: "1627080"
steamWebAPIKey: "3CD023D13769C48A24FDFCCB3398D68A"
visibleToOtherPlayers: false
Manage identity providers in Operator Portal #
Identity providers can be viewed and managed within the Operator Portal.
Unlinking an identity provider #
Removing an identity provider from an account is a permanent action and cannot be undone.
- From the Social Operator Portal, click Services, then click Accounts.
- Click on the relevant player name to view individual account information.
- View the player’s identity providers.
- Hover over the identity provider you’d like to remove and click unlink.
- Confirm you want to unlink the identity provider.
Data classes #
Id Provider Account #
IdProviderAccount
contains third party user identification information that Pragma uses to create and authenticate accounts.
property | description |
---|---|
idProvider | enum of the identity provider. |
accountId | string Unique identitifer that the third party uses to associate a player with their account. |
displayName | string Display name that the third party provider has for a user on their interface. |
discriminator | string Unique characters added to the end of an account name to identify them. If the third party does not use a distriminator, set as an empty string. |
Error types #
error type | description |
---|---|
AccountService_IdProviderMissing | Identity provider is not configured in Pragma Engine. |
AccountService_InvalidIdProvider | Identity provider enum type does not exist in IdProvider or ExtIdProvider enums. |
AccountService_IdProviderLinkingDisabled | accountLinkingEnabled config value is set to false for this identity provider. |
AccountService_IdProviderAlreadyAssociated | Identity provider account is already linked to an existing Pragma Account. Ex: The same Steam account can not be linked to two separate Pragma Accounts. |
AccountService_AccountAlreadyBoundToProviderType | A Pragma Account can not simultaneously be linked to the same identity provider type more than once. Ex: Two Steam accounts can not be linked to the same Pragma Account at the same time. |
AccountService_CannotUnlinkOnlyIdProvider | Identity provider is the last one linked to Pragma Account. Every Pragma Account needs at least one identity provider associated with it to be reachable. |
AccountService_IdProviderAuthenticationDisabled | playerLoginEnabled or operatorLoginEnabled config value is set to false for this identity provider. |
AccountService_Unauthorized | User does not meet authorization requirements for identity provider. Ex: Only users with a specific email domain can log in. |
AccountService_Unverified | User’s account has not been verified. Ex: email verification |
AccountService_IdProviderUnexpectedResponse | Pragma Engine received a response from the identity provider’s API that was unexpected. Ex: Steam service is down. |