Test info

Profile: {'openid-configuration': 'config', 'response_type': 'code+id_token', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-30T11:58:31Z
Test description: Scope requesting profile claims [Basic, Implicit, Hybrid]
Test ID: OP-scope-profile
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.000292 ------------ DiscoveryRequest ------------
0.000304 Provider info discover from 'https://is.biocryptology.net'
0.000310 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.607576 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.205529 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.211625 ------------ AuthorizationRequest ------------
1.213847 --> URL: https://is.biocryptology.net/V1/auth?nonce=TwIifdjFnWbJ&state=AYmIxf3jFdNdoaC5&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&response_type=code+id_token&client_id=swipe&scope=openid+profile
1.213856 --> BODY: None
1.635458 QUERY_STRING:
2.333912 <-- state=AYmIxf3jFdNdoaC5&code=7GcRncxhEZvVl19m2aOCrg&id_token=eyJhbGciOiJSUzI1NiIsImtpZCI6IlZuTTB4ZXlSRUpZUFlINlRpUllpUFEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDU1MTcsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkR2S0RNcktHZFRxT2hLT0ozdlc2aWciLCJjX2hhc2giOiJBbnlVMFA3eTRxZ0lLR3dkcHZhd21nIiwiaWF0IjoxNDk2MTQ1NTE3LCJleHAiOjE0OTYxNDkxMTcsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJUd0lpZmRqRm5XYkoiLCJzdWIiOiJNUSJ9.Pg2Xhtnigi7u-iYZxQJ9K0CPVrmPqGnuLYkRM5Eg_s0viKWLQr9b8ZUmXfLzM_IcdjJUadVNRC3MuWRzkmecmggWJQDRPf24CVJIKsoAPXm9E7wnuA1IgDkR8ypeHNGH40IY5MD7imsHu8qhg18SYWp2sHlGbN5ZgA346dkxZys
2.921008 AuthorizationResponse: {
  "code": "7GcRncxhEZvVl19m2aOCrg",
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "DvKDMrKGdTqOhKOJ3vW6ig",
      "aud": [
        "swipe"
      ],
      "auth_time": 1496145517,
      "azp": "swipe",
      "c_hash": "AnyU0P7y4qgIKGwdpvawmg",
      "exp": 1496149117,
      "iat": 1496145517,
      "iss": "https://is.biocryptology.net/",
      "nonce": "TwIifdjFnWbJ",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "VnM0xeyREJYPYH6TiRYiPQ"
    }
  },
  "state": "AYmIxf3jFdNdoaC5"
}
2.921543 ------------ AccessTokenRequest ------------
2.923580 --> URL: https://is.biocryptology.net/V1/token
2.923592 --> BODY: code=7GcRncxhEZvVl19m2aOCrg&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61021%2Fauthz_cb&grant_type=authorization_code&state_hash=3TuX8q59E4PFwFcQNIKgvIc9aZ-U6_rplrSe8INQKB0%3D
2.923605 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
3.553753 <-- STATUS: 200
3.553867 <-- BODY: {"access_token":"NZiCWg8x4I_IF-se9-AYGQ","expires_in":3600,"refresh_token":"nJQFBeKuBPcsfI1kWuc19Q","scope":"openid profile","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6IlZuTTB4ZXlSRUpZUFlINlRpUllpUFEifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDU1MTcsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6IkR2S0RNcktHZFRxT2hLT0ozdlc2aWciLCJjX2hhc2giOiJBbnlVMFA3eTRxZ0lLR3dkcHZhd21nIiwiaWF0IjoxNDk2MTQ1NTE3LCJleHAiOjE0OTYxNDkxMTcsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJUd0lpZmRqRm5XYkoiLCJzdWIiOiJNUSJ9.Pg2Xhtnigi7u-iYZxQJ9K0CPVrmPqGnuLYkRM5Eg_s0viKWLQr9b8ZUmXfLzM_IcdjJUadVNRC3MuWRzkmecmggWJQDRPf24CVJIKsoAPXm9E7wnuA1IgDkR8ypeHNGH40IY5MD7imsHu8qhg18SYWp2sHlGbN5ZgA346dkxZys"}
3.561686 AccessTokenResponse: {
  "access_token": "NZiCWg8x4I_IF-se9-AYGQ",
  "expires_in": 3600,
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "DvKDMrKGdTqOhKOJ3vW6ig",
      "aud": [
        "swipe"
      ],
      "auth_time": 1496145517,
      "azp": "swipe",
      "c_hash": "AnyU0P7y4qgIKGwdpvawmg",
      "exp": 1496149117,
      "iat": 1496145517,
      "iss": "https://is.biocryptology.net/",
      "nonce": "TwIifdjFnWbJ",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "VnM0xeyREJYPYH6TiRYiPQ"
    }
  },
  "refresh_token": "nJQFBeKuBPcsfI1kWuc19Q",
  "scope": "openid profile",
  "token_type": "Bearer"
}
3.567896 ------------ UserInfoRequest ------------
3.568193 --> URL: https://is.biocryptology.net/V1/userinfo
3.568199 --> BODY: None
3.568208 --> HEADERS: {'Authorization': u'Bearer NZiCWg8x4I_IF-se9-AYGQ'}
4.246963 <-- STATUS: 200
4.247032 Available verification keys: [(u'VnM0xeyREJYPYH6TiRYiPQ', u'RSA'), (u'JqQoW7rvif1FvJV9KpH4cw', u'RSA'), (u'yTxSHOzNdzhSJlEY1AyLRQ', u'RSA')]
4.247065 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
4.247180 <-- BODY: {"birthdate":"1970-01-01","gender":"Gender","locale":"en","name":"hanscan","nickname":"Nickname","picture":"Picture","profile":"Profile","sub":"MQ","website":"Website","zoneinfo":"Zoneinfo","family_name":"Family_Name","given_name":"Middle_Name","middle_name":"Middle_Name","preferred_username":"Preferred_Username","updated_at":1496145520}
4.248107 UserInfo: {
  "birthdate": "1970-01-01",
  "family_name": "Family_Name",
  "gender": "Gender",
  "given_name": "Middle_Name",
  "locale": "en",
  "middle_name": "Middle_Name",
  "name": "hanscan",
  "nickname": "Nickname",
  "picture": "Picture",
  "preferred_username": "Preferred_Username",
  "profile": "Profile",
  "sub": "MQ",
  "updated_at": 1496145520,
  "website": "Website",
  "zoneinfo": "Zoneinfo"
}
4.253818 ==== END ====

Result

PASSED