
JWT - 규격에 맞게 생성.
OAuth 테이블 -> extension에서 바꿔서...
gateway_default_strategies <- client_id 로 조회 가능
{"_index": "gateway_default_strategies","_type": "_doc","_id": "a188cd81-43b2-445b-ad37-9cda59d68c4a","_score": 1.0,"_source": {"id": "a188cd81-43b2-445b-ad37-9cda59d68c4a","type": "OAUTH2","authServerAlias": "local","name": "jwt-oauth-strategy","description": "","clientId": "e1bcebc1-ec35-411f-8ce1-ee892fc780a1","dcrConfig": {"allowedGrantTypes": ["authorization_code","password","refresh_token","implicit"],"applicationType": "web","clientType": "PUBLIC","clientName": "jwt-oauth-strategy","clientVersion": "1.0","expirationInterval": "3600","refreshCount": "0","scopes": ["Test_Scope_AS"],"redirectUris": ["https://192.168.1.172:18102/abs/apiportalext/v1/oauth2/callback","https://oauth.pstmn.io/v1/callback"]},"clientRegistration": {"clientId": "e1bcebc1-ec35-411f-8ce1-ee892fc780a1","name": "jwt-oauth-strategy","version": "1.0","type": "public","tokenLifetime": 3600,"tokenRefreshLimit": 0,"clientSecret": "********************************","enabled": true,"redirectUris": ["https://192.168.1.172:18102/abs/apiportalext/v1/oauth2/callback","https://oauth.pstmn.io/v1/callback"],"clScopes": ["Test_Scope_AS"],"authCodeAllowed": true,"implicitAllowed": true,"clientCredentialsAllowed": false,"resourceOwnerAllowed": true}}
gateway_default_registeredapplication
{"_index": "gateway_default_registeredapplications","_type": "_doc","_id": "22d2adc1-2888-4d6a-af7a-1fd187e7dd9a","_score": 1.0,"_source": {"applicationId": "22d2adc1-2888-4d6a-af7a-1fd187e7dd9a","apiIds": ["df599c00-1054-45a5-8ca0-f86b54c3437f"],"lastUpdated": 1616631086887}}
gateway_default_applications
app id를 알 수 있다면...
{"_index": "gateway_default_applications","_type": "_doc","_id": "22d2adc1-2888-4d6a-af7a-1fd187e7dd9a","_score": 1.0,"_source": {"applicationID": "22d2adc1-2888-4d6a-af7a-1fd187e7dd9a","name": "Client_Id_Test_01","description": "","owner": "default:21b525ca-74c4-371a-9b35-ca4e128d849d","identifiers": [{"id": "870ddc6a-935a-4b23-b35b-b7294c087422","key": "jwtClaims","swaggerName": "","swaggerValue": [],"namedValues": [{"name": "JWT default claims set","values": ["{\"app_id\":\"22d2adc1-2888-4d6a-af7a-1fd187e7dd9a\"}"]}]}],"contactEmails": [],"accessTokens": {"apiAccessKey": {"apiAccessKey": "8a8a57672e5578aeb8dccdf86289bb88ab81e5d197e692e0eae25dfc50563915","expirationInterval": null,"expirationDate": null},"oauth2Token": null},"creationDate": "2021-03-24 01:13:02 GMT","lastModified": "2021-03-25 00:11:26 GMT","lastUpdated": 1616631086672,"siteURLs": [],"jsOrigins": [],"version": "1.0","properties": {"requesterComment": null},"isSuspended": false,"authStrategyIds": ["e6bcaad7-32d8-41e0-821d-6674a6d6a392"],"subscription": false}}