Test info

Profile: {'openid-configuration': 'config', 'response_type': 'code+id_token', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-30T12:22:34Z
Test description: Claims request with essential name claim [Basic, Implicit, Hybrid]
Test ID: OP-claims-essential
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-http-response]
	status: OK
	description: Checks that the HTTP response status is within the 200 or 300 range
[verify-claims]
	status: OK
	description: Verifies that the UserInfo returned is consistent with what was asked for
__X:==== END ====__

Trace output


0.000292 ------------ DiscoveryRequest ------------
0.000305 Provider info discover from 'https://is.biocryptology.net'
0.000311 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.599891 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.188304 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.201185 ------------ AuthorizationRequest ------------
1.204057 --> URL: https://is.biocryptology.net/V1/auth?nonce=7JgcW7Tay7Kl&state=bkxGSGHg0aSDrTi0&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&response_type=code+id_token&client_id=swipe&claims=%7B%22userinfo%22%3A+%7B%22name%22%3A+%7B%22essential%22%3A+true%7D%7D%7D&scope=openid
1.204066 --> BODY: None
1.620390 QUERY_STRING:
2.526962 <-- state=bkxGSGHg0aSDrTi0&code=KSwITnfzbAA5V-xtkIH73w&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6Ik1OVzNfdTIybkF0ZU1LMjBUWXMxQ3cifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDY5NjAsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkxVQmViYmQ4UkF3TDlKeUJaR2dRR3ciLCJjX2hhc2giOiJiTTFpbmRkYVpudXl0UWVKVjZpdmZnIiwiaWF0IjoxNDk2MTQ2OTYwLCJleHAiOjE0OTYxNTA1NjAsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiI3SmdjVzdUYXk3S2wiLCJzdWIiOiJNUSJ9.hR4oW1P-BD0Eogn6EQMc64jZs3DANZnVLpZWKwimuvRgN5ZO9y19TxAYIhUq6S9NndHr5efSzZ4qDh4yZAL4KgH-_aNPRBWguTH9ejpSheXab_qm_IOLEwzyBGBlcnCEJADsYq1I10tKFHIDedjZffAkTYqIZ3uGTU5R0vIMhd8
3.121568 AuthorizationResponse: {
  "code": "KSwITnfzbAA5V-xtkIH73w",
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "LUBebbd8RAwL9JyBZGgQGw",
      "aud": [
        "swipe"
      ],
      "auth_time": 1496146960,
      "azp": "swipe",
      "c_hash": "bM1inddaZnuytQeJV6ivfg",
      "exp": 1496150560,
      "iat": 1496146960,
      "iss": "https://is.biocryptology.net/",
      "nonce": "7JgcW7Tay7Kl",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "MNW3_u22nAteMK20TYs1Cw"
    }
  },
  "state": "bkxGSGHg0aSDrTi0"
}
3.122237 ------------ AccessTokenRequest ------------
3.124198 --> URL: https://is.biocryptology.net/V1/token
3.124210 --> BODY: code=KSwITnfzbAA5V-xtkIH73w&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&grant_type=authorization_code&state_hash=q0GxV3ipgLbGqUBP9bodJXzNKprCmzdkV7CNzWgq51o%3D
3.124221 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
3.782777 <-- STATUS: 200
3.782909 <-- BODY: {"access_token":"WIwlyI4C2eBbBBslbFeYYQ","expires_in":3600,"refresh_token":"j5Z0CMMqfkz3eYmdcBtiVA","scope":"openid","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6Ik1OVzNfdTIybkF0ZU1LMjBUWXMxQ3cifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDY5NjAsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkxVQmViYmQ4UkF3TDlKeUJaR2dRR3ciLCJjX2hhc2giOiJiTTFpbmRkYVpudXl0UWVKVjZpdmZnIiwiaWF0IjoxNDk2MTQ2OTYwLCJleHAiOjE0OTYxNTA1NjAsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiI3SmdjVzdUYXk3S2wiLCJzdWIiOiJNUSJ9.hR4oW1P-BD0Eogn6EQMc64jZs3DANZnVLpZWKwimuvRgN5ZO9y19TxAYIhUq6S9NndHr5efSzZ4qDh4yZAL4KgH-_aNPRBWguTH9ejpSheXab_qm_IOLEwzyBGBlcnCEJADsYq1I10tKFHIDedjZffAkTYqIZ3uGTU5R0vIMhd8"}
3.790641 AccessTokenResponse: {
  "access_token": "WIwlyI4C2eBbBBslbFeYYQ",
  "expires_in": 3600,
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "LUBebbd8RAwL9JyBZGgQGw",
      "aud": [
        "swipe"
      ],
      "auth_time": 1496146960,
      "azp": "swipe",
      "c_hash": "bM1inddaZnuytQeJV6ivfg",
      "exp": 1496150560,
      "iat": 1496146960,
      "iss": "https://is.biocryptology.net/",
      "nonce": "7JgcW7Tay7Kl",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "MNW3_u22nAteMK20TYs1Cw"
    }
  },
  "refresh_token": "j5Z0CMMqfkz3eYmdcBtiVA",
  "scope": "openid",
  "token_type": "Bearer"
}
3.803363 ------------ UserInfoRequest ------------
3.803696 --> URL: https://is.biocryptology.net/V1/userinfo
3.803703 --> BODY: None
3.803711 --> HEADERS: {'Authorization': u'Bearer WIwlyI4C2eBbBBslbFeYYQ'}
4.516134 <-- STATUS: 200
4.516213 Available verification keys: [(u'MNW3_u22nAteMK20TYs1Cw', u'RSA'), (u'auG8aS4okJqDRIY2eLD9fA', u'RSA'), (u'r61PR-erDJljxqEv01Sm0g', u'RSA')]
4.516250 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
4.516356 <-- BODY: {"name":"hanscan","sub":"MQ"}
4.517464 UserInfo: {
  "name": "hanscan",
  "sub": "MQ"
}
4.530665 ==== END ====

Result

PASSED