Discord Provisional Accounts #

Discord Provisional accounts allow players to seamlessly utilize select Discord functionality inside your game without requiring a Discord authentication flow. Pragma acts as an authentication provider on the backend in order to generate a Discord Provisional Account from any logged in Pragma account.

This doc will provide an outline of the integration. A more detailed set of integration instructions is available upon request, please reach out to your Customer Success Manager (CSM) for further details.

Setup a Discord App #

Create and configure a Discord App via the Discord Developer Portal.

Configure Discord External Auth #

Add and configure an externaul auth provider within the Discord Developer Portal, using Pragma as the OpenID Connect Issuer.

Configure Pragma #

For engine customers, some OIDC configuration values need to be set. Connect / Cloud customers will have this pre-configured.

Unreal #

The Unreal integration steps are outlined as follows:

  • Authenticate with Pragma as usual via your configured Pragma Id Provider.
  • Retrieve a Discord token from Pragma
    • Pragma will make a provisional account for the player if needed
  • Init Discord SDK with the provided token associated w/ the provisional account
  • Success!

This overview is meant to provide an outline of the process, but given its reliance on many integration steps related to Discord services and features, detailed instructions are maintained separate from the docs site to for maintainability. Reach out to your CSM for more details.