Home

AccelByte Auth

Learn how to interact with AccelByte

AccelByte offers robust backend services for building and operating online games, featuring scalable cloud infrastructure, matchmaking, and cross-platform player accounts. Their solutions focus on enhancing multiplayer experiences while providing developers with the flexibility to customize game services.

Set up your provider#

To set up Accelbyte to authenticate players with Openfort, visit your dashboard provider settings.

accelbyte auth

Client-side Integration#


_10
import Openfort from "@openfort/openfort-js";
_10
const openfort = new Openfort({
_10
baseConfiguration: {
_10
publishableKey: OPENFORT_PUBLISHABLE_KEY
_10
}
_10
});
_10
await openfortAuth.authenticateWithThirdPartyProvider({provider:ThirdPartyOAuthProvider.ACCELBYTE, token:accessToken, tokenType:TokenType.CUSTOM_TOKEN});

Uppon successful authentication, the SDK will return:

response.json

_12
{
_12
"id": "pla_cc9ed2b7-c5f5-4c43-8dca-c4b104ba1762",
_12
"object": "player",
_12
"createdAt": 1710976453,
_12
"linkedAccounts": [
_12
{
_12
"provider": "accelbyte",
_12
"disabled": false,
_12
"externalUserId": "2"
_12
}
_12
]
_12
}

Resources#