1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
| { "clientRegistration": { "registrationId": "messaging-client-oidc", "clientId": "my-client-1", "clientSecret": "123", "clientAuthenticationMethod": { "value": "client_secret_basic" }, "authorizationGrantType": { "value": "authorization_code" }, "redirectUri": "http://oauth2-client:8081/login/oauth2/code/messaging-client-oidc", "scopes": [ "profile", "openid" ], "providerDetails": { "authorizationUri": "http://oauth2-authorization-server:8080/oauth2/authorize", "tokenUri": "http://oauth2-authorization-server:8080/oauth2/token", "userInfoEndpoint": { "uri": "http://oauth2-authorization-server:8080/userinfo", "authenticationMethod": { "value": "header" }, "userNameAttributeName": "sub" }, "jwkSetUri": "http://oauth2-authorization-server:8080/oauth2/jwks", "issuerUri": "http://oauth2-authorization-server:8080", "configurationMetadata": { "authorization_endpoint": "http://oauth2-authorization-server:8080/oauth2/authorize", "token_endpoint": "http://oauth2-authorization-server:8080/oauth2/token", "introspection_endpoint": "http://oauth2-authorization-server:8080/oauth2/introspect", "revocation_endpoint": "http://oauth2-authorization-server:8080/oauth2/revoke", "device_authorization_endpoint": "http://oauth2-authorization-server:8080/oauth2/device_authorization", "issuer": "http://oauth2-authorization-server:8080", "jwks_uri": "http://oauth2-authorization-server:8080/oauth2/jwks", "scopes_supported": [ "openid" ], "response_types_supported": [ "code" ], "grant_types_supported": [ "authorization_code", "client_credentials", "refresh_token", "urn:ietf:params:oauth:grant-type:device_code" ], "code_challenge_methods_supported": [ "S256" ], "token_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt" ], "introspection_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt" ], "revocation_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt" ], "request_uri_parameter_supported": true, "subject_types_supported": [ "public" ], "userinfo_endpoint": "http://oauth2-authorization-server:8080/userinfo", "end_session_endpoint": "http://oauth2-authorization-server:8080/connect/logout", "id_token_signing_alg_values_supported": [ "RS256" ] } }, "clientName": "客户端1" }, "principalName": "admin", "accessToken": { "tokenValue": "eyJraWQiOiIwYWVlZGNlNy1lMTU4LTRmYjQtYWM2NS1iODI5ZjFlZmNiOWIiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImF1ZCI6Im15LWNsaWVudC0yIiwibmJmIjoxNzA2ODU0MjE1LCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIl0sImlzcyI6Imh0dHA6Ly9vYXV0aDItYXV0aG9yaXphdGlvbi1zZXJ2ZXI6ODA4MCIsImV4cCI6MTcwNjg2MTQxNSwiaWF0IjoxNzA2ODU0MjE1LCJqdGkiOiI5OTJmYzk5Mi1jNTc2LTQ1ODQtOWVjMC1lZDIxNDFlMDM4MzkifQ.m2gk8W8kIQxt7ilk4cemAr_L9qk8RoZ5UrOVrIIzu1M3VQTs-KUh5qHyzrCtrqO5So04lXR-4r-w97qeDSoPgAaDfTzPD2eDdUyvaBJU2gFBexKhmKoLMDIDfoNHxX2v-yZ2k5o1MZtu_hZtFj_9vogusjIX1Z5jeM6XupmL44DohDgIstqOMG8kVOBanDgmtRkbhq7hfkBhdUvo64GLMPEHLYORnI0GGxa43ZvSYivN3-kNPsll0KRyaDBDfHWBu3l0SW6AEErdYCtttmiZ01_ma7PTwCR9Pcdgtw6qfDHWJRr-Ud-Q_XkF-Ctqm1hhfFRc1aU7qKq0FK1AgObR3Q", "issuedAt": "2024-02-02T06:10:15.239316700Z", "expiresAt": "2024-02-02T08:10:15.239316700Z", "tokenType": { "value": "Bearer" }, "scopes": [ "openid", "profile" ] }, "refreshToken": { "tokenValue": "5GojNIG0yJsIgFvBteoshc2atUwBHU-7jcpKI6iPFBsYqPu97lOMcusBa320YuCn0C5mtz8qtUcbju77pTMbpE_CYk92OmYhXdeRJfXo63sCOr-jbXtibNXYUKupSNHn", "issuedAt": "2024-02-02T06:10:15.239316700Z", "expiresAt": null } }
|