Test info
Profile: {'openid-configuration': 'config', 'response_type': 'code+id_token+token', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-30T12:43:57Z
Test description: UserInfo Endpoint access with POST and bearer body [Basic, Implicit, Hybrid]
Test ID: OP-UserInfo-Body
Issuer: https://is.biocryptology.net/
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.000448 ------------ DiscoveryRequest ------------
0.000463 Provider info discover from 'https://is.biocryptology.net'
0.000470 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.611494 ProviderConfigurationResponse: {
"authorization_endpoint": "https://is.biocryptology.net/V1/auth",
"check_session_iframe": "http://default.com",
"claims_parameter_supported": false,
"claims_supported": [
"sub",
"website",
"zoneinfo",
"email_verified",
"birthdate",
"address",
"gender",
"profile",
"iss",
"phone_number_verified",
"given_name",
"middle_name",
"locale",
"picture",
"updated_at",
"auth_time",
"name",
"nickname",
"phone_number",
"family_name",
"prefered_username",
"email"
],
"end_session_endpoint": "https://is.biocryptology.net/V1/end",
"grant_types_supported": [
"authorization_code",
"implicit"
],
"id_token_signing_alg_values_supported": [
"ES512",
"ES384",
"ES256",
"RS512",
"RS384",
"RS256",
"HS512",
"HS384",
"HS256"
],
"issuer": "https://is.biocryptology.net/",
"jwks_uri": "https://is.biocryptology.net/V1/jwks",
"registration_endpoint": "http://default.com",
"request_object_encryption_alg_values_supported": [
"RSA-OAEP",
"RSA1_5"
],
"request_object_encryption_enc_values_supported": [
"A256GCM",
"A256CBC-HS512",
"A256CBC-HS384",
"A256CBC-HS256",
"A256CBC",
"A128GCM",
"A128CBC-HS512",
"A128CBC-HS384",
"A128CBC-HS256",
"A128CBC"
],
"request_parameter_supported": true,
"request_uri_parameter_supported": false,
"require_request_uri_registration": false,
"response_modes_supported": [
"fragment",
"query",
"form_post"
],
"response_types_supported": [
"code",
"id_token",
"id_token token",
"code id_token",
"code token",
"code id_token token"
],
"revocation_endpoint": "http://default.com",
"scopes_supported": [
"email",
"profile",
"phone",
"openid",
"address"
],
"service_documentation": "http://default.com",
"subject_types_supported": [
"public"
],
"token_endpoint": "https://is.biocryptology.net/V1/token",
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"userinfo_endpoint": "https://is.biocryptology.net/V1/userinfo",
"version": "3.0"
}
1.194773 JWKS: {
"keys": [
{
"alg": "RS256",
"e": "AQAB",
"kid": "MNW3_u22nAteMK20TYs1Cw",
"kty": "RSA",
"n": "AI_uKVNJfjEOoKUePXV46VX3dTuL0LrWKmEGbxCJSu6N9PXgeTA3gsM5DVrN9csD6mGcb_Oi1jbEc8duis6JLRXYGT-_ZsVZi2M2Yx1FInuukIP9ZgOdNfPA1ANvkKyoG4QNUzG5cgxDmeP-UikzjGYObzWEFHb9CT_l-yBTgPt_",
"use": "sig"
},
{
"alg": "RS256",
"e": "AQAB",
"kid": "auG8aS4okJqDRIY2eLD9fA",
"kty": "RSA",
"n": "AMRaFFJr_TQ1-XB5JzZ0iF1d2wEeAuxe4ZjjVgbDYwvbyfidZnpfn-lUbzxxVVJj6ItQTNVz3tsGaBM4rwqFH_qDlap84wLv1vjLONLEZDa2xIXiTlA0fvyPuIJcEE1cm9OY36jPhueoA40MRMdXiOU5gfr5wlJtUCLICexV5i-X",
"use": "sig"
},
{
"alg": "RS256",
"e": "AQAB",
"kid": "r61PR-erDJljxqEv01Sm0g",
"kty": "RSA",
"n": "AJVG_Q0e2y6QQAfXowHQBNrZ2bKSbJ094oqTXJgqClG8jHkE1GMnuHORqap5PvCnbO47Mhm18aTTsdrodJC4SVLSCQtVnIhRzV8OHYfkZgHV16tUNcsBPMF-sYnfD7J9UtC7eify6dZPMqM0Bf2EK09fdvJpCmD7pxY5TDVo3inb",
"use": "sig"
}
]
}
1.198039 ------------ AuthorizationRequest ------------
1.200036 --> URL: https://is.biocryptology.net/V1/auth?nonce=uldOQiSdzEci&state=7ioGQe81NACSybCU&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61022%2Fauthz_cb&response_type=code+id_token+token&client_id=swipe&scope=openid
1.200044 --> BODY: None
1.656824 QUERY_STRING:
2.604895 <-- state=7ioGQe81NACSybCU&access_token=ngNszDrbOh2TZmMOGgSa6Q&token_type=Bearer&expires_in=3600&code=3cwKtGWH9fsnuzVOtXtiXQ&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6ImF1RzhhUzRva0pxRFJJWTJlTEQ5ZkEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDgyNDMsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkFHaWF1WVVxbkM2VHAxRjZfVW81T3ciLCJjX2hhc2giOiI3SVhaV09lT3ZFLXRjUERLZEstOURBIiwiaWF0IjoxNDk2MTQ4MjQzLCJleHAiOjE0OTYxNTE4NDMsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJ1bGRPUWlTZHpFY2kiLCJzdWIiOiJNUSJ9.qs92gf-u6k7ZkS3GDqcB5Oo2-9HTuWIIboZWydKQTLFVExWHsKqGE6ibs4cUDxhEnMckGhP4vShHSOG5hnBElTS3xvZQz8AmeWGMERSWYuoJK0Xq8LqIb18yiNqqliIxRTU-6_8gQ0VSdoWCZIbptjdBRsBXkqGCnCmvdj9SPqM
3.187381 AuthorizationResponse: {
"access_token": "ngNszDrbOh2TZmMOGgSa6Q",
"code": "3cwKtGWH9fsnuzVOtXtiXQ",
"expires_in": 3600,
"id_token": {
"claims": {
"acr": "0",
"at_hash": "AGiauYUqnC6Tp1F6_Uo5Ow",
"aud": [
"swipe"
],
"auth_time": 1496148243,
"azp": "swipe",
"c_hash": "7IXZWOeOvE-tcPDKdK-9DA",
"exp": 1496151843,
"iat": 1496148243,
"iss": "https://is.biocryptology.net/",
"nonce": "uldOQiSdzEci",
"sub": "MQ"
},
"jws header parameters": {
"alg": "RS256",
"kid": "auG8aS4okJqDRIY2eLD9fA"
}
},
"state": "7ioGQe81NACSybCU",
"token_type": "Bearer"
}
3.188202 ------------ AccessTokenRequest ------------
3.190551 --> URL: https://is.biocryptology.net/V1/token
3.190568 --> BODY: code=3cwKtGWH9fsnuzVOtXtiXQ&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61022%2Fauthz_cb&grant_type=authorization_code&state_hash=C3EwoTT08IUJ3BwYGbZPd2ToDzqd9js1IUHp9QYRmBM%3D
3.190585 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
3.816125 <-- STATUS: 200
3.816268 <-- BODY: {"access_token":"ngNszDrbOh2TZmMOGgSa6Q","expires_in":3600,"refresh_token":"zr1VMMThi3o5JksOAsHWKw","scope":"openid","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6ImF1RzhhUzRva0pxRFJJWTJlTEQ5ZkEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDgyNDMsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkFHaWF1WVVxbkM2VHAxRjZfVW81T3ciLCJjX2hhc2giOiI3SVhaV09lT3ZFLXRjUERLZEstOURBIiwiaWF0IjoxNDk2MTQ4MjQzLCJleHAiOjE0OTYxNTE4NDMsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJ1bGRPUWlTZHpFY2kiLCJzdWIiOiJNUSJ9.qs92gf-u6k7ZkS3GDqcB5Oo2-9HTuWIIboZWydKQTLFVExWHsKqGE6ibs4cUDxhEnMckGhP4vShHSOG5hnBElTS3xvZQz8AmeWGMERSWYuoJK0Xq8LqIb18yiNqqliIxRTU-6_8gQ0VSdoWCZIbptjdBRsBXkqGCnCmvdj9SPqM"}
3.824565 AccessTokenResponse: {
"access_token": "ngNszDrbOh2TZmMOGgSa6Q",
"expires_in": 3600,
"id_token": {
"claims": {
"acr": "0",
"at_hash": "AGiauYUqnC6Tp1F6_Uo5Ow",
"aud": [
"swipe"
],
"auth_time": 1496148243,
"azp": "swipe",
"c_hash": "7IXZWOeOvE-tcPDKdK-9DA",
"exp": 1496151843,
"iat": 1496148243,
"iss": "https://is.biocryptology.net/",
"nonce": "uldOQiSdzEci",
"sub": "MQ"
},
"jws header parameters": {
"alg": "RS256",
"kid": "auG8aS4okJqDRIY2eLD9fA"
}
},
"refresh_token": "zr1VMMThi3o5JksOAsHWKw",
"scope": "openid",
"token_type": "Bearer"
}
3.828576 ------------ UserInfoRequest ------------
3.829105 --> URL: https://is.biocryptology.net/V1/userinfo
3.829114 --> BODY: access_token=ngNszDrbOh2TZmMOGgSa6Q
3.829124 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded'}
4.544618 <-- STATUS: 200
4.544694 Available verification keys: [(u'MNW3_u22nAteMK20TYs1Cw', u'RSA'), (u'auG8aS4okJqDRIY2eLD9fA', u'RSA'), (u'r61PR-erDJljxqEv01Sm0g', u'RSA')]
4.544740 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
4.544848 <-- BODY: {"sub":"MQ"}
4.545730 UserInfo: {
"sub": "MQ"
}
4.549154 ==== END ====
Result
PASSED