<aside> 💡 STOVE supports OpenID, below guideline explains how you can fetch OpenID information from STOVE.
</aside>
<aside> 💡 [For Games using Epic Online Services(EOS)]
EOS Customer Center: https://eoshelp.epicgames.com/s/private-question-page?language=en_US
[Format]
I would like to use OpenID as an identity provider for my product. The OpenID specification is the following:
Product ID: {PRODUCT_ID} Description: {DESCRIPTION} Type: UserInfo Endpoint
UserInfo API Endpoint: https://api.onstove.com/oidc/v1/userinfo HTTP Method: GET Name of the AccountId field: "sub" Name of the DisplayName field: "nickname"
</aside>
GET /v1/userinfo
Host:
[<https://api.onstove.com/oidc>](<https://api.onstove.com/oidc>) (LIVE)
Name | Type | Required | Default Value | Value | Description |
---|---|---|---|---|---|
Authorization | String | Y | - | Bearer {user_access_token} | User’s Access Token |
Name | Type | Required | Default Value | Example | Description |
---|---|---|---|---|---|
sub | String | Y | - | "20005061986" | STOVE user’s GUID |
(unique user number) | |||||
nickname | String | N | - | "STOVE20005061986" | User name (in platform) |
Name | Type | Required | Default Value | Example | Description |
---|---|---|---|---|---|
code | Integer | N | - | 40101 | |
message | String | N | - | invalid token | 응답 메시지 |
curl --location --request GET '<https://api-dev.onstove.com/oidc/v1/userinfo>' \\--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHBpcmVfdGltZSI6MTcxMTQzNTA2OTcyNiwibWVtYmVyX25vIjoxMDAwMDAwMDIzMjEsImFwcGxpY2F0aW9uX25vIjoxMDAwMn0.llanAiKn7TD1Z__coIGYtM_8HYc4UShNHWPYdhzyZ-B6hPPCAIiKGtwZrZyZk56EcwwzKDpCOLdzYT1wMYuBOG7L51Y29JeVjinjVCa2W-DPiumex3mo6B-wlVo_Y0SMrd2mDIsq3TQ-TlnEufFv_RnZtZ6SzYpXGmD0NyK0rvKwrp9PiEL5Rbd1jvoqyN1H2FNnne54miP5JnVUoorvLkazQQKY1bWKm91wX89oKPwlmLGQnnf_K-amylchCirM9Sl1tLOwgJamymJVUH_OPXQX9sAJzanTGfehIulEF8o'
Content-Type : application/json