Test info
Profile: {'openid-configuration': 'config', 'response_type': 'code', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2015-04-10T02:33:12Z
Test description: Access token request with client_secret_post authentication [Basic, Hybrid]
Test ID: OP-ClientAuth-SecretPost-Static
Issuer: https://openid.uni-id.info/express/
Test output
__AuthorizationRequest:pre__
[check-response-type]
status: OK
description: Checks that the asked for response type are among the supported
[check-endpoint]
status: OK
description: Checks that the necessary endpoint exists at a server
__After completing the test flow:__
[verify-response]
status: OK
description: Checks that the last response was one of a possible set of OpenID Connect Responses
__X:==== END ====__
Trace output
0.000285 ------------ DiscoveryRequest ------------
0.000296 Provider info discover from 'https://openid.uni-id.info/express/'
0.000303 --> URL: https://openid.uni-id.info/express/.well-known/openid-configuration
1.046453 ProviderConfigurationResponse: {
"authorization_endpoint": "https://openid.uni-id.info/express/script/connect/authz_req/endpoint.seam",
"claims_parameter_supported": false,
"claims_supported": [
"sub",
"iss",
"auth_time",
"acr",
"name",
"given_name",
"family_name",
"nickname",
"profile",
"picture",
"website",
"email",
"email_verified",
"locale",
"zoneinfo"
],
"grant_types_supported": [
"authorization_code",
"implicit"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"issuer": "https://openid.uni-id.info/express/",
"jwks_uri": "https://openid.uni-id.info/express/script/connect/jwks/endpoint.seam",
"request_parameter_supported": false,
"request_uri_parameter_supported": true,
"require_request_uri_registration": true,
"response_types_supported": [
"code",
"token",
"id_token",
"code token",
"code id_token",
"token id_token",
"code token id_token"
],
"scopes_supported": [
"openid",
"email",
"phone",
"address",
"profile"
],
"subject_types_supported": [
"pairwise"
],
"token_endpoint": "https://openid.uni-id.info/express/script/connect/token_req/endpoint.seam",
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"userinfo_endpoint": "https://openid.uni-id.info/express/script/connect/userinfo/endpoint.seam",
"version": "3.0"
}
2.126689 JWKS: {
"keys": [
{
"alg": "RS256",
"e": "AQAB",
"kid": "key1",
"kty": "RSA",
"n": "u8XnQhjM_rO43PGu6t2RHa6Y2hAGA63fjJfcyrrw9iu5Y3Xn7iQ3uJV93JL7RYmi55GtMB6PaRzBDckAQRVOHd8BoEPufX9567TpuThQRb2vL8ds1oL6X3p33C02HgU9rkBRGQHYi8oOaKtuUjXUeC-P-boFvHKLtvKbCbfX3Ys",
"use": "sig"
}
]
}
2.127470 ------------ AuthorizationRequest ------------
2.127847 --> URL: https://openid.uni-id.info/express/script/connect/authz_req/endpoint.seam?scope=openid&state=CDRPl7MDGDhy4eC9&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60239%2Fauthz_cb&response_type=code&client_id=https%3A%2F%2Fopenid.uni-id.info%2Fconnect_consumer%2F
2.127855 --> BODY: None
2.514281 <-- code=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiTU56Tmw3OHpjTm9vUVlMeHZuZkxBaGk1MjUzZWpja3ciLCJleHAiOjE0Mjg2MzY4MDksImlhdCI6MTQyODYzMzIwOSwidG9rZW5UeXBlIjoiY29kZSIsInZlciI6IjEuMCJ9.&state=CDRPl7MDGDhy4eC9
2.514558 AuthorizationResponse: {
"code": "eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiTU56Tmw3OHpjTm9vUVlMeHZuZkxBaGk1MjUzZWpja3ciLCJleHAiOjE0Mjg2MzY4MDksImlhdCI6MTQyODYzMzIwOSwidG9rZW5UeXBlIjoiY29kZSIsInZlciI6IjEuMCJ9.",
"state": "CDRPl7MDGDhy4eC9"
}
2.514906 ------------ AccessTokenRequest ------------
2.515223 --> URL: https://openid.uni-id.info/express/script/connect/token_req/endpoint.seam
2.515229 --> BODY: code=eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiTU56Tmw3OHpjTm9vUVlMeHZuZkxBaGk1MjUzZWpja3ciLCJleHAiOjE0Mjg2MzY4MDksImlhdCI6MTQyODYzMzIwOSwidG9rZW5UeXBlIjoiY29kZSIsInZlciI6IjEuMCJ9.&client_secret=client_secret&grant_type=authorization_code&client_id=https%3A%2F%2Fopenid.uni-id.info%2Fconnect_consumer%2F&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A60239%2Fauthz_cb
2.515238 --> HEADERS: {'Content-type': 'application/x-www-form-urlencoded'}
3.966710 <-- STATUS: 200
3.966744 <-- BODY: {"scope":"openid","expires_in":1799,"token_type":"bearer","refresh_token":"eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiYlJsazlyY1NfMkE2OWJhcG9CWTZWTjE1TGlkWTN1bWUiLCJleHAiOjE0Mjg2NTEyMTAsImlhdCI6MTQyODYzMzIxMCwidG9rZW5UeXBlIjoicmVmcmVzaF90b2tlbiIsInZlciI6IjEuMCJ9.","access_token":"eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiYlJsazlyY1NfMkE2OWJhcG9CWTZWTjE1TGlkWTN1bWUiLCJleHAiOjE0Mjg2MzUwMTAsImlhdCI6MTQyODYzMzIxMCwidG9rZW5UeXBlIjoiYWNjZXNzX3Rva2VuIiwidmVyIjoiMS4wIn0.","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6ImtleTEiLCJ0eXAiOiJKV1QifQ.eyJhdWQiOiJodHRwczovL29wZW5pZC51bmktaWQuaW5mby9jb25uZWN0X2NvbnN1bWVyLyIsImV4cCI6MTQyODYzNTAxMCwiaWF0IjoxNDI4NjMzMjEwLCJpc3MiOiJodHRwczovL29wZW5pZC51bmktaWQuaW5mby9leHByZXNzLyIsInN1YiI6IjI4Nll3YndtdXNIYnpwakJ2Q2E2d1NaMHlHWFRhQ0tMIiwidXNlcl9pZCI6IjI4Nll3YndtdXNIYnpwakJ2Q2E2d1NaMHlHWFRhQ0tMIn0.LIyHiSra5H4rvwNXDM_gsFqsGkTJlG40uVxFmD8uhZ3GpEtNPTApdWwjZLcVwEmalpiD5gRYkboxUn30KXoZoKopE-ByfTuOAsx5zOcjPhQIt4DhGVOcGs2NbQrRnrjNNzpdxpDrdBvk5ObnLgZZOx4-mY8bYEmTDFCNuUXLWGo"}
4.990706 AccessTokenResponse: {
"access_token": "eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiYlJsazlyY1NfMkE2OWJhcG9CWTZWTjE1TGlkWTN1bWUiLCJleHAiOjE0Mjg2MzUwMTAsImlhdCI6MTQyODYzMzIxMCwidG9rZW5UeXBlIjoiYWNjZXNzX3Rva2VuIiwidmVyIjoiMS4wIn0.",
"expires_in": 1799,
"id_token": {
"claims": {
"aud": [
"https://openid.uni-id.info/connect_consumer/"
],
"exp": 1428635010,
"iat": 1428633210,
"iss": "https://openid.uni-id.info/express/",
"sub": "286YwbwmusHbzpjBvCa6wSZ0yGXTaCKL",
"user_id": "286YwbwmusHbzpjBvCa6wSZ0yGXTaCKL"
},
"jws header parameters": {
"alg": "RS256",
"kid": "key1",
"typ": "JWT"
}
},
"refresh_token": "eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJjb2RlIjoiYlJsazlyY1NfMkE2OWJhcG9CWTZWTjE1TGlkWTN1bWUiLCJleHAiOjE0Mjg2NTEyMTAsImlhdCI6MTQyODYzMzIxMCwidG9rZW5UeXBlIjoicmVmcmVzaF90b2tlbiIsInZlciI6IjEuMCJ9.",
"scope": "openid",
"token_type": "bearer"
}
4.991798 ==== END ====
Result
PASSED