<aside> 💡 스토브는 OpenID를 지원합니다. 아래 내용은 OpenID 규격에 맞게 회원 정보를 가져갈 수 있는 방법에 대하여 가이드하고 있습니다.
</aside>
<aside> 💡 [Epic Online Services (EOS)를 사용하는 경우]
고객문의 링크: https://eoshelp.epicgames.com/s/private-question-page?language=en_US
[요청 내용]
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 | Example | Description |
---|---|---|---|---|---|
Authorization | String | Y | - | Bearer {user_access_token} | 사용자 인증 토큰값 |
Name | Type | Required | Default Value | Example | Description |
---|---|---|---|---|---|
sub | String | Y | - | "20005061986" | 회원 식별값 |
• GUID | |||||
nickname | String | N | - | "STOVE20005061986" | 플랫폼 닉네임 |
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