Test info
Profile: {'openid-configuration': 'config', 'response_type': 'code+id_token', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-30T11:57:12Z
Test description: Request with nonce, verifies it was returned in ID Token [Implicit, Hybrid]
Test ID: OP-nonce-noncode
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:__
[check-idtoken-nonce]
status: OK
description: Verify that I in the IDToken gets back the nonce I included in the Authorization Request.
[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.000433 ------------ DiscoveryRequest ------------
0.000448 Provider info discover from 'https://is.biocryptology.net'
0.000455 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.595528 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": [
"address",
"openid",
"email",
"profile",
"phone"
],
"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.142412 JWKS: {
"keys": [
{
"alg": "RS256",
"e": "AQAB",
"kid": "VnM0xeyREJYPYH6TiRYiPQ",
"kty": "RSA",
"n": "AKZG968CgFxr3JL9mWnb4G89_jJbjj7xAssoIOh0DwHSPzAsOBHtzlVlR0ztsS3JpMLXqwqaY8AG4zWsLOroH8IQc3KAlJovJgd7LgjL7V_vEvE5kJZaWF7ZwHWJBZGK27U2HwhTUEUYFP_54a5PtxV-miTvrHauDhq0JCJpLjX7",
"use": "sig"
},
{
"alg": "RS256",
"e": "AQAB",
"kid": "JqQoW7rvif1FvJV9KpH4cw",
"kty": "RSA",
"n": "AJBvEeDKnMPBXkRDcWmijy8ziIDB_8H3qEWFrlQSQXK4R2lrPsjakC8eUz3C4-zKOiuZE0UXivQ5IAHS3P6Zq1nXZRkaOoocCDcVuzQQwOTg61CStkvFLeUSTdnagPt7mLmnkjRUcU060KXlUHCaIsbk_KuAssWuLMzCQduCWyQ1",
"use": "sig"
},
{
"alg": "RS256",
"e": "AQAB",
"kid": "yTxSHOzNdzhSJlEY1AyLRQ",
"kty": "RSA",
"n": "ANkzi_C2lc5nwwZq84d33tZVDIxIo4ZOC0c9lvC4xfyAX77BX2WRCX4-ixK80cCWJPxYTvQ0__SjCWX1Y7AXIljmYwuFVqjhoZ3NWN6pvGwIFZolYt5HQiLrVpVA6pDLUpZnWozT48ciQ3rMx9Y21A2cmElslVa-FeTDQGAw_Jwr",
"use": "sig"
}
]
}
1.146705 ------------ AuthorizationRequest ------------
1.148706 --> URL: https://is.biocryptology.net/V1/auth?nonce=nbChwVFKcZSW&state=5L7wD4gCKQpA6RGb&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&response_type=code+id_token&client_id=swipe&scope=openid
1.148717 --> BODY: None
6.511738 QUERY_STRING:
7.378586 <-- state=5L7wD4gCKQpA6RGb&code=I11YADcoTKfRjtTGf0ZUXw&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6InlUeFNIT3pOZHpoU0psRVkxQXlMUlEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDU0MzgsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6Imx5NExpU2pLS2dYWTFsQ0JaNXZpWEEiLCJjX2hhc2giOiJ1UVZLeWk5VHFGMm90NWZKdVJHV2VRIiwiaWF0IjoxNDk2MTQ1NDM5LCJleHAiOjE0OTYxNDkwMzksImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJuYkNod1ZGS2NaU1ciLCJzdWIiOiJNUSJ9.gJRGzM2EYFBZA3iOAjIscK7h7CnfV_G_UlY62sHeqduCi0uoEto8PVfhx7odUzXHnD6aIXL8v7qECTAf561hjHdRBvFuO4raEfTd_3cZDTSKSqAuPk_wzTmNdMEyev5J5-dM096CYypD4ZYxXcdYqZPl4mjXhxNJ33mjdmxyxgk
7.986661 AuthorizationResponse: {
"code": "I11YADcoTKfRjtTGf0ZUXw",
"id_token": {
"claims": {
"acr": "0",
"at_hash": "ly4LiSjKKgXY1lCBZ5viXA",
"aud": [
"swipe"
],
"auth_time": 1496145438,
"azp": "swipe",
"c_hash": "uQVKyi9TqF2ot5fJuRGWeQ",
"exp": 1496149039,
"iat": 1496145439,
"iss": "https://is.biocryptology.net/",
"nonce": "nbChwVFKcZSW",
"sub": "MQ"
},
"jws header parameters": {
"alg": "RS256",
"kid": "yTxSHOzNdzhSJlEY1AyLRQ"
}
},
"state": "5L7wD4gCKQpA6RGb"
}
7.987193 ------------ AccessTokenRequest ------------
7.989170 --> URL: https://is.biocryptology.net/V1/token
7.989182 --> BODY: code=I11YADcoTKfRjtTGf0ZUXw&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&grant_type=authorization_code&state_hash=roYgxkjTjwEn7fFVpCuIklAunoAbjnpdXrV24eCSDCU%3D
7.989194 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
8.574981 <-- STATUS: 200
8.575117 <-- BODY: {"access_token":"HbdZkznCrp1yee3oseYCWA","expires_in":3600,"refresh_token":"b4TSI7cSZYt1SG_5fr72aA","scope":"openid","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InlUeFNIT3pOZHpoU0psRVkxQXlMUlEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDU0MzgsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6Imx5NExpU2pLS2dYWTFsQ0JaNXZpWEEiLCJjX2hhc2giOiJ1UVZLeWk5VHFGMm90NWZKdVJHV2VRIiwiaWF0IjoxNDk2MTQ1NDM5LCJleHAiOjE0OTYxNDkwMzksImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJuYkNod1ZGS2NaU1ciLCJzdWIiOiJNUSJ9.gJRGzM2EYFBZA3iOAjIscK7h7CnfV_G_UlY62sHeqduCi0uoEto8PVfhx7odUzXHnD6aIXL8v7qECTAf561hjHdRBvFuO4raEfTd_3cZDTSKSqAuPk_wzTmNdMEyev5J5-dM096CYypD4ZYxXcdYqZPl4mjXhxNJ33mjdmxyxgk"}
8.582982 AccessTokenResponse: {
"access_token": "HbdZkznCrp1yee3oseYCWA",
"expires_in": 3600,
"id_token": {
"claims": {
"acr": "0",
"at_hash": "ly4LiSjKKgXY1lCBZ5viXA",
"aud": [
"swipe"
],
"auth_time": 1496145438,
"azp": "swipe",
"c_hash": "uQVKyi9TqF2ot5fJuRGWeQ",
"exp": 1496149039,
"iat": 1496145439,
"iss": "https://is.biocryptology.net/",
"nonce": "nbChwVFKcZSW",
"sub": "MQ"
},
"jws header parameters": {
"alg": "RS256",
"kid": "yTxSHOzNdzhSJlEY1AyLRQ"
}
},
"refresh_token": "b4TSI7cSZYt1SG_5fr72aA",
"scope": "openid",
"token_type": "Bearer"
}
8.587705 ==== END ====
Result
PASSED