署名とPayloadに含まれるクレームの検証が実行される
JWT Validator – JWTの検証処理
Copyright © 2022, Oracle and/or its affiliates
18
{
"user_tz": "Asia/Tokyo",
"sub": "
[email protected]",
"iss": "https://identity.oraclecloud.com/",
"client_id": "tokenGenerator",
"sub_type": "user",
"client_tenantname": "idcs-oracle",
"region_name": "us-phoenix-idcs-1",
"user_lang": "en",
"exp": 1651052900,
"iat": 1651049300,
"user_displayname": "Hoge Hoge",
"aud": [
"https://example.com/",
"https://console:9245"
],
"scope": "list:hello create:hello update:hello delete:hello someScope"
... 省略 ...
}
JWTのPayload例(※一部抜粋)
発行時刻(iat)と有効期限(exp)を
元にJWTの有効期限の確認