Test info

Profile: {'openid-configuration': 'config', 'response_type': 'code+token', 'crypto': 'none+sign', 'registration': 'static'}
Timestamp: 2017-05-30T12:30:05Z
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.000310 ------------ DiscoveryRequest ------------
0.000325 Provider info discover from 'https://is.biocryptology.net'
0.000331 --> URL: https://is.biocryptology.net/.well-known/openid-configuration
0.595903 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.185965 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.190973 ------------ AuthorizationRequest ------------
1.193004 --> URL: https://is.biocryptology.net/V1/auth?nonce=H9MwiPseOsWD&state=8Ybjv1vVbIH7FwqL&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61022%2Fauthz_cb&response_type=code+token&client_id=swipe&scope=openid+profile
1.193013 --> BODY: None
3.552791 QUERY_STRING:
4.378259 <-- state=8Ybjv1vVbIH7FwqL&access_token=P6ClRUX-YUZvxtCAYk9HXQ&token_type=Bearer&expires_in=3600&code=NoSTQ9wQR6duxxuwnbJZqA
4.378728 AuthorizationResponse: {
  "access_token": "P6ClRUX-YUZvxtCAYk9HXQ",
  "code": "NoSTQ9wQR6duxxuwnbJZqA",
  "expires_in": 3600,
  "state": "8Ybjv1vVbIH7FwqL",
  "token_type": "Bearer"
}
4.380332 ------------ AccessTokenRequest ------------
4.382278 --> URL: https://is.biocryptology.net/V1/token
4.382288 --> BODY: code=NoSTQ9wQR6duxxuwnbJZqA&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61022%2Fauthz_cb&grant_type=authorization_code&state_hash=B_X_p3_weCeianevo6zTWMYt2GxoYIdJtXtqDohP0oU%3D
4.382300 --> HEADERS: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic c3dpcGU6c3dpcGU='}
5.096563 <-- STATUS: 200
5.096705 <-- BODY: {"access_token":"P6ClRUX-YUZvxtCAYk9HXQ","expires_in":3600,"refresh_token":"NY4ybTDk29UQC7b2JMGi3Q","scope":"profile openid","token_type":"Bearer","id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InI2MVBSLWVyREpsanhxRXYwMVNtMGcifQ.eyJhY3IiOiIwIiwiYXVkIjoic3dpcGUiLCJhdXRoX3RpbWUiOjE0OTYxNDc0MTEsImF6cCI6InN3aXBlIiwiYXRfaGFzaCI6ImhBUjdVY2c1TDZPM2YtT0dPVUJZNkEiLCJjX2hhc2giOiI4dzFlY2hEb3AySGM3dDQtY3ZwQjNnIiwiaWF0IjoxNDk2MTQ3NDExLCJleHAiOjE0OTYxNTEwMTEsImlzcyI6Imh0dHBzOi8vaXMuYmlvY3J5cHRvbG9neS5uZXQvIiwibm9uY2UiOiJIOU13aVBzZU9zV0QiLCJzdWIiOiJNUSJ9.grw1ce80d-A30fCF9SHrifxA_6lsT3zqoJQ34FvEC9UmwrdzgDNvznaxcZD6E0t9iLtEewNiNv2kOqBmIwZq0H60LBO9-xSulllaeCB2tEJMWDJgOX1KwS3HeyAATaYEJVE-Vei3iKGKGU2Daa9ZoGgJhiMVE_4ftkFI0UhsTCA"}
5.738437 AccessTokenResponse: {
  "access_token": "P6ClRUX-YUZvxtCAYk9HXQ",
  "expires_in": 3600,
  "id_token": {
    "claims": {
      "acr": "0",
      "at_hash": "hAR7Ucg5L6O3f-OGOUBY6A",
      "aud": [
        "swipe"
      ],
      "auth_time": 1496147411,
      "azp": "swipe",
      "c_hash": "8w1echDop2Hc7t4-cvpB3g",
      "exp": 1496151011,
      "iat": 1496147411,
      "iss": "https://is.biocryptology.net/",
      "nonce": "H9MwiPseOsWD",
      "sub": "MQ"
    },
    "jws header parameters": {
      "alg": "RS256",
      "kid": "r61PR-erDJljxqEv01Sm0g"
    }
  },
  "refresh_token": "NY4ybTDk29UQC7b2JMGi3Q",
  "scope": "profile openid",
  "token_type": "Bearer"
}
5.744379 ------------ UserInfoRequest ------------
5.744725 --> URL: https://is.biocryptology.net/V1/userinfo
5.744732 --> BODY: None
5.744745 --> HEADERS: {'Authorization': u'Bearer P6ClRUX-YUZvxtCAYk9HXQ'}
6.420716 <-- STATUS: 200
6.420783 Available verification keys: [(u'MNW3_u22nAteMK20TYs1Cw', u'RSA'), (u'auG8aS4okJqDRIY2eLD9fA', u'RSA'), (u'r61PR-erDJljxqEv01Sm0g', u'RSA')]
6.420816 Available decryption keys: [('a0', 'RSA'), ('a3', 'EC')]
6.420935 <-- 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":1496147414}
6.422129 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": 1496147414,
  "website": "Website",
  "zoneinfo": "Zoneinfo"
}
6.427574 ==== END ====

Result

PASSED