Test info

Profile: {'openid-configuration': 'config', 'response_type': 'code', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-26T14:21:18Z
Test description: Scope requesting phone claims [Basic, Implicit, Hybrid]
Test ID: OP-scope-phone
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-response]
	status: OK
	description: Checks that the last response was one of a possible set of OpenID Connect Responses
[verify-scopes]
	status: OK
	description: Verifies that the claims corresponding to the requested scopes are returned
__X:==== END ====__

Trace output


0.000271 ------------ DiscoveryRequest ------------
0.000285 Provider info discover from 'https://is.biocryptology.net'
0.000292 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.720130 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": [
    "phone",
    "address",
    "openid",
    "email",
    "profile"
  ],
  "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.345918 JWKS: {
  "keys": [
    {
      "alg": "RS256",
      "e": "AQAB",
      "kid": "aDNT9W5MMFjpnQz5NYCbZw",
      "kty": "RSA",
      "n": "AIARwlnHKy97bV3CxBWXwxY84ZFLTnVZxna56aqabB1C6K_t04MCZJX1ucxsN1UooIo0go52qVbJNm_yLvyM61JD8UkGQE0EmIHE1Et-DPy3Z5pEgZONUHAet_uTjr7Blhjili_aXpMZ4BfJrbF8oW6jo4Ao83cLMyn3f_LJoqEp",
      "use": "sig"
    },
    {
      "alg": "RS256",
      "e": "AQAB",
      "kid": "F--2fX97Rvwc0LghUHGSfg",
      "kty": "RSA",
      "n": "AJ0pyiUzlQqO-dyPPb_OD5YMOF_GPhut9eIItetBte0pLICZMaICu-Rm-zQkIEedlM3S3Kcg2yl8HvdJqXa9764_O3m3duQrA74Fe7U1-hynwBmtq8gLn8ae5qTbZ8nN03Y2MrW9Q24rGnkbUhwjhNs_o7dE5NlRmejRLtfzFpkB",
      "use": "sig"
    },
    {
      "alg": "RS256",
      "e": "AQAB",
      "kid": "RUw8ctDE3-uf0dIKyMmcCQ",
      "kty": "RSA",
      "n": "AI_CmTELVBkX_FtbAod88lqaQ7U-JLXchkpboj2zCRm5dXcnBKqzVItVZjRzET2Vdy9uXfD87OCyUiMRnLD_vToYwzytKaLY8kmK4_qtTbQN4Z5g1YxLHPZjKuwPKL05K2RsGh3Q7Raww8h8-pA_vrS7qzz6Dz30BEh5b2rS40Ud",
      "use": "sig"
    }
  ]
}
1.350921 ------------ AuthorizationRequest ------------
1.352726 --> URL: https://is.biocryptology.net/V1/auth?scope=openid+phone&state=QrnCvsRcSB63d23x&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61018%2Fauthz_cb&response_type=code&client_id=swipe
1.352734 --> BODY: None
3.976529 <-- state=QrnCvsRcSB63d23x&code=jwuxOx-5Rg8CtvmhTL6zvA
3.977009 AuthorizationResponse: {
  "code": "jwuxOx-5Rg8CtvmhTL6zvA",
  "state": "QrnCvsRcSB63d23x"
}
3.977365 ------------ AccessTokenRequest ------------
3.980155 --> URL: https://is.biocryptology.net/V1/token
3.980167 --> BODY: code=jwuxOx-5Rg8CtvmhTL6zvA&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61018%2Fauthz_cb&grant_type=authorization_code&state_hash=LJXEB_w-7hvS4FkCd3WkE1W8oAEyfMGRRa0AFMJVaIs%3D
3.980179 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
4.631148 <-- STATUS: 200
4.631307 <-- BODY: {"access_token":"-_wr-yiLQfZeAUdx9X0w1A","expires_in":3600,"refresh_token":"aka5oJV2wnlo_ckqLeRDaQ","scope":"phone openid","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IlJVdzhjdERFMy11ZjBkSUt5TW1jQ1EifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTU4MDg0NzcsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6ImFtZDdIYzNRWTRBV3pnQ1ZwM2t3ZXciLCJjX2hhc2giOiJGMW5RX3lEY0hibUwyZ3lSN3kydDJ3IiwiaWF0IjoxNDk1ODA4NDc3LCJleHAiOjE0OTU4MTIwNzcsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwic3ViIjoiTVEifQ.LSfs035gFowGjrzqDIrxMz_cWnARC3w0Ew2uG6MDwC3qVzjAC13ScNkSqR8S3pjaDgR6Qq1xgjdvAbyUZoDztPFVAGYwkeGUYPwQXqJPsjR8LNlU8g6rG-XOMvAXaGoeETfbBemiMidj79SOmASkrEPvcLGgG7Wy-mIVQchl6UI"}
5.198245 AccessTokenResponse: {
  "access_token": "-_wr-yiLQfZeAUdx9X0w1A",
  "expires_in": 3600,
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "amd7Hc3QY4AWzgCVp3kwew",
      "aud": [
        "swipe"
      ],
      "auth_time": 1495808477,
      "azp": "swipe",
      "c_hash": "F1nQ_yDcHbmL2gyR7y2t2w",
      "exp": 1495812077,
      "iat": 1495808477,
      "iss": "https://is.biocryptology.net/",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "RUw8ctDE3-uf0dIKyMmcCQ"
    }
  },
  "refresh_token": "aka5oJV2wnlo_ckqLeRDaQ",
  "scope": "phone openid",
  "token_type": "Bearer"
}
5.203393 ------------ UserInfoRequest ------------
5.203696 --> URL: https://is.biocryptology.net/V1/userinfo
5.203702 --> BODY: None
5.203711 --> HEADERS: {'Authorization': u'Bearer -_wr-yiLQfZeAUdx9X0w1A'}
5.915684 <-- STATUS: 200
5.915748 Available verification keys: [(u'aDNT9W5MMFjpnQz5NYCbZw', u'RSA'), (u'F--2fX97Rvwc0LghUHGSfg', u'RSA'), (u'RUw8ctDE3-uf0dIKyMmcCQ', u'RSA')]
5.915781 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
5.915877 <-- BODY: {"sub":"MQ","phone_number":"+34911223344","phone_number_verified":true}
5.916612 UserInfo: {
  "phone_number": "+34911223344",
  "phone_number_verified": true,
  "sub": "MQ"
}
5.921472 ==== END ====

Result

PASSED