AuthorizationArgs::SetScopes on AuthorizationArgs which is passed to Client::Authorize on Social SDK
authentication.
Default Presence Scopes
At a minimum, the Social SDK uses the following scopes to use features like rich presence and friends list:- openid
- sdk.social_layer_presence
Client::GetDefaultPresenceScopes, which returns openid sdk.social_layer_presence,
that you can use when setting up your OAuth2 flow, for integrations that only need the above functionality.
With only the default presence scopes, your game will not be able to use any of the limited access
communications features.
Default Communication Scopes
The communications features are currently available but have limited access. Those features require the scope ofsdk.social_layer, which includes the sdk.social_layer_presence scope but also allows your app to use those limited features on behalf of the user.
- openid
- sdk.social_layer
Client::GetDefaultCommunicationScopes, which returns openid sdk.social_layer,
that you can use when setting up your OAuth2 flow, for integrations that integrates both the default and limited communications features.
For more information about these features, please see Core Concepts: Communication Features.
OAuth2 Client Types
OAuth2 has two client types: Public and Confidential. Most games will not want to ship with Public Client enabled. Some Social SDK methods require your Discord application to be a Public Client. These methods also have server-side alternatives that you can use with a Confidential Client.- Public clients cannot securely store client secrets.
- Using confidential clients with proper secret management for production applications is generally recommended.
- Your security team should review this setting and authentication flows before releasing your game.
Next Steps
Start your integration, implement user authentication, and learn about UI design:Getting Started
Choose your platform and follow step-by-step setup instructions.
Account Linking
Implement user authentication with Discord OAuth2.
Design Guidelines
Learn how to design your gameβs UI to integrate social features.
Change Log
| Date | Changes | 
|---|---|
| July 21, 2025 | initial release |