Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
IDトークンにクレームを追加する方法について説明します。
curl -s -X POST https://api.authlete.com/api/auth/authorization/issue \ -u '<API Key>:<API Secret>' \ -H 'Content-Type: application/json' \ -d '{ "ticket": "<Ticket>", "subject": "testuser01", **"claims": "{\"name\": \"Test User\", \"email\": \"testuser01@example.com\", \"email_verified\": true}"** }'
{ **"name": "Test User", "email": "testuser01@example.com", "email_verified": true,** "iss": "https://as.example.com", "sub": "testuser01", "aud": [ "12898884596863" ], "exp": 1559137301, "iat": 1559050901, "nonce": "n-0S6_WzA2Mj" }
curl -s -X POST https://api.authlete.com/api/auth/authorization/issue \ -u '<API Key>:<API Secret>' \ -H 'Content-Type: application/json' \ -d '{ "ticket": "<Ticket>", "subject": "testuser01", "claims": "{\"name\": \"Test User\", \"email\": \"testuser01@example.com\", \"email_verified\": true}", **"sub": "1234567890"** }'
{ "name": "Test User", "email": "testuser01@example.com", "email_verified": true, "iss": "https://as.example.com", **"sub": "1234567890",** "aud": [ "126863743267133" ], "exp": 1688804473, "iat": 1688718073, "nonce": "n-0S6_WzA2Mj" }
Was this page helpful?