Test Info

Test descriptionScope requesting all claims
Profile[]
Timestamp2018-05-17T15:39:55Z
Issuerhttps://reference.mobileconnect.io/mobileconnect
Test IDOP-scope-All

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
Done: status=OK

Trace Output

0.0phase<--<-- 0 --- Webfinger -->-->
0.0not expected to doWebFinger
0.0phase<--<-- 1 --- Discovery -->-->
0.0provider_config
kwargs:{'issuer': 'https://reference.mobileconnect.io/mobileconnect'}
0.354http response
url:https://reference.mobileconnect.io/mobileconnect/.well-known/openid-configuration status_code:200
0.355ProviderConfigurationResponse
{
    "acr_values_supported": [
        "2",
        "3"
    ],
    "authorization_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/auth",
    "check_session_iframe": "https://reference.mobileconnect.io/mobileconnect/opframe.php",
    "claim_types_supported": [
        "normal"
    ],
    "claims_locales_supported": [
        "en-US"
    ],
    "claims_parameter_supported": true,
    "claims_supported": [
        "name",
        "given_name",
        "family_name",
        "middle_name",
        "nickname",
        "preferred_username",
        "profile",
        "picture",
        "website",
        "email",
        "email_verified",
        "gender",
        "birthdate",
        "zoneinfo",
        "locale",
        "phone_number",
        "phone_number_verified",
        "address",
        "updated_at"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "end_session_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/endsession",
    "grant_types_supported": [
        "authorization_code"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "id_token_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "issuer": "https://reference.mobileconnect.io/mobileconnect",
    "jwks_uri": "https://reference.mobileconnect.io/mobileconnect/op.jwk",
    "login_hint_methods_supported": [
        "MSISDN",
        "ENCR_MSISDN",
        "PCR"
    ],
    "mc_atp_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/atp",
    "mobile_connect_version_supported": [
        {
            "openid": "mc_v1.1"
        },
        {
            "openid mc_authn": "mc_v1.2"
        },
        {
            "openid mc_authz": "mc_v1.2"
        },
        {
            "openid mc_identity_phonenumber": "mc_v1.2"
        },
        {
            "openid mc_identity_signup": "mc_v1.2"
        },
        {
            "openid mc_identity_nationalid": "mc_v1.2"
        },
        {
            "openid mc_atp": "mc_v1.2"
        }
    ],
    "op_policy_uri": "https://reference.mobileconnect.io/mobileconnect/index.php/op_policy",
    "op_tos_uri": "https://reference.mobileconnect.io/mobileconnect/index.php/op_tos",
    "premiuminfo_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/premiuminfo",
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_types_supported": [
        "code",
        "code token",
        "code id_token",
        "token",
        "token id_token",
        "code token id_token",
        "id_token"
    ],
    "scopes_supported": [
        "openid",
        "mc_authn",
        "mc_authz",
        "profile",
        "email",
        "address",
        "phone",
        "mc_identity_phonenumber",
        "mc_identity_signup",
        "mc_identity_nationalid",
        "mc_atp"
    ],
    "service_documentation": "https://reference.mobileconnect.io/mobileconnect/index.php/servicedocs",
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "token_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/token",
    "token_endpoint_auth_methods_supported": [
        "client_secret_post",
        "client_secret_basic",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "ui_locales_supported": [
        "en-US"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP"
    ],
    "userinfo_encryption_enc_values_supported": [
        "A128CBC-HS256",
        "A256CBC-HS512",
        "A128GCM",
        "A256GCM"
    ],
    "userinfo_endpoint": "https://reference.mobileconnect.io/mobileconnect/index.php/userinfo",
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512"
    ],
    "version": "3.0"
}
0.355phase<--<-- 2 --- Registration -->-->
0.355not expected to doDynamic registration
0.356phase<--<-- 3 --- AsyncAuthn -->-->
0.356AuthorizationRequest
{
    "client_id": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
    "nonce": "2JpWzWpw37mHxN6S",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "response_type": "code",
    "scope": "openid profile email address phone",
    "state": "Xfjyyj8o41NoWdzC"
}
0.356redirect urlhttps://reference.mobileconnect.io/mobileconnect/index.php/auth?response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid+profile+email+address+phone&nonce=2JpWzWpw37mHxN6S&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=Xfjyyj8o41NoWdzC
0.356redirecthttps://reference.mobileconnect.io/mobileconnect/index.php/auth?response_type=code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&scope=openid+profile+email+address+phone&nonce=2JpWzWpw37mHxN6S&client_id=7cf82bd4-71c3-47df-9c49-70fae9c9b142&state=Xfjyyj8o41NoWdzC
2.004response{'code': 'h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE', 'state': 'Xfjyyj8o41NoWdzC'}
2.004response{'code': 'h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE', 'state': 'Xfjyyj8o41NoWdzC'}
2.004AuthorizationResponse
{
    "code": "h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE",
    "state": "Xfjyyj8o41NoWdzC"
}
2.004phase<--<-- 4 --- AccessToken -->-->
2.004requestop_args: {'state': 'Xfjyyj8o41NoWdzC'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb'}
2.004do_access_token_request
kwargs:{'request_args': {'grant_type': 'authorization_code', 'client_id': '7cf82bd4-71c3-47df-9c49-70fae9c9b142', 'code': 'h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE', 'redirect_uri': 'https://op.certification.openid.net:61286/authz_cb', 'state': 'Xfjyyj8o41NoWdzC'}, 'state': 'Xfjyyj8o41NoWdzC'}
2.004AccessTokenRequest
{
    "code": "h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61286/authz_cb",
    "state": "Xfjyyj8o41NoWdzC"
}
2.005request_urlhttps://reference.mobileconnect.io/mobileconnect/index.php/token
2.005request_http_args{'headers': {'Authorization': 'Basic N2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyOmNhNmE5ZDVjLTg5OTctNDZmOC05NjQwLTdiNTE5MWQyNGVkZQ==', 'Content-Type': 'application/x-www-form-urlencoded'}}
2.005requestgrant_type=authorization_code&code=h74BNhZ1WeE404WyljEww_vU2LYkobECzhEz1CKHvLE&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61286%2Fauthz_cb&state=Xfjyyj8o41NoWdzC
2.405http response
url:https://reference.mobileconnect.io/mobileconnect/index.php/token status_code:200
2.407response{'id_token': 'eyJhbGciOiJSUzI1NiIsImtpZCI6IlBIUE9QLTAwIn0.eyJpc3MiOiJodHRwczpcL1wvcmVmZXJlbmNlLm1vYmlsZWNvbm5lY3QuaW9cL21vYmlsZWNvbm5lY3QiLCJzdWIiOiJGM0VFRDU1RC01RTZELTQ4MjktODhBNi1BMzY1MzI1QThBNUMiLCJhdWQiOlsiN2NmODJiZDQtNzFjMy00N2RmLTljNDktNzBmYWU5YzliMTQyIl0sImV4cCI6MTUyNjU3MTg5NSwiaWF0IjoxNTI2NTcxNTk1LCJub25jZSI6IjJKcFd6V3B3MzdtSHhONlMiLCJhdF9oYXNoIjoiWGU3N3owbjdtME5hamoyTmZ4bXo1dyIsImF1dGhfdGltZSI6MTUyNjU3MTU0NCwiYWNyIjoiMiIsImF6cCI6IjdjZjgyYmQ0LTcxYzMtNDdkZi05YzQ5LTcwZmFlOWM5YjE0MiIsImhhc2hlZF9sb2dpbl9oaW50IjoiZTNiMGM0NDI5OGZjMWMxNDlhZmJmNGM4OTk2ZmI5MjQyN2FlNDFlNDY0OWI5MzRjYTQ5NTk5MWI3ODUyYjg1NSJ9.Gkin85lFtR1we0xea3bqcBZMZZkvarvODdHivS8bJs-3N3rUIKYiONdjExj5H3MRdAtGenUEeuUdhU6QDD6R8VnlXpxdk58ew3q0OL4Qm6NN_z0wfFL7mJcvBMZ9Q296liLJtoYwigK38li1ChmifKOcGJTcVZpt7kJSsKhGahc', 'token_type': 'Bearer', 'expires_in': 3600, 'access_token': 'y0tyjt71I7BEu3vftI30Kb3y6Ds8qmi95Kwi3US-PsU'}
2.763AccessTokenResponse
{
    "access_token": "y0tyjt71I7BEu3vftI30Kb3y6Ds8qmi95Kwi3US-PsU",
    "expires_in": 3600,
    "id_token": {
        "acr": "2",
        "at_hash": "Xe77z0n7m0Najj2Nfxmz5w",
        "aud": [
            "7cf82bd4-71c3-47df-9c49-70fae9c9b142"
        ],
        "auth_time": 1526571544,
        "azp": "7cf82bd4-71c3-47df-9c49-70fae9c9b142",
        "exp": 1526571895,
        "hashed_login_hint": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "iat": 1526571595,
        "iss": "https://reference.mobileconnect.io/mobileconnect",
        "nonce": "2JpWzWpw37mHxN6S",
        "sub": "F3EED55D-5E6D-4829-88A6-A365325A8A5C"
    },
    "token_type": "Bearer"
}
2.763phase<--<-- 5 --- UserInfo -->-->
2.763do_user_info_request
kwargs:{'method': 'GET', 'authn_method': 'bearer_header', 'state': 'Xfjyyj8o41NoWdzC'}
2.763request{'body': None}
2.763request_urlhttps://reference.mobileconnect.io/mobileconnect/index.php/userinfo
2.763request_http_args{'headers': {'Authorization': 'Bearer y0tyjt71I7BEu3vftI30Kb3y6Ds8qmi95Kwi3US-PsU'}}
3.151http response
url:https://reference.mobileconnect.io/mobileconnect/index.php/userinfo status_code:200
3.152OpenIDSchema
{
    "address": {
        "formatted": "100 Jim Rd, Atlanta, GA, 30328, US"
    },
    "birthdate": "21/02/1970",
    "email": "test1@sla-mobile.com",
    "email_verified": true,
    "family_name": "test1",
    "gender": "male",
    "given_name": "test1",
    "is_adult": true,
    "locale": "EN",
    "middle_name": "test1",
    "name": "test1",
    "nickname": "test1",
    "phone_number": "447700100010",
    "phone_number_verified": true,
    "picture": "https://reference.mobileconnect.io/mobileconnect/profiles/",
    "preferred_username": "test1",
    "profile": "test1",
    "sub": "F3EED55D-5E6D-4829-88A6-A365325A8A5C",
    "updated_at": 0,
    "website": "http://itsme.com",
    "zoneinfo": "GB"
}
3.152OpenIDSchema
{
    "address": {
        "formatted": "100 Jim Rd, Atlanta, GA, 30328, US"
    },
    "birthdate": "21/02/1970",
    "email": "test1@sla-mobile.com",
    "email_verified": true,
    "family_name": "test1",
    "gender": "male",
    "given_name": "test1",
    "is_adult": true,
    "locale": "EN",
    "middle_name": "test1",
    "name": "test1",
    "nickname": "test1",
    "phone_number": "447700100010",
    "phone_number_verified": true,
    "picture": "https://reference.mobileconnect.io/mobileconnect/profiles/",
    "preferred_username": "test1",
    "profile": "test1",
    "sub": "F3EED55D-5E6D-4829-88A6-A365325A8A5C",
    "updated_at": 0,
    "website": "http://itsme.com",
    "zoneinfo": "GB"
}
3.152phase<--<-- 6 --- Done -->-->
3.152end
3.153assertionVerifyResponse
3.153conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3.153assertionVerifyScopes
3.153conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
3.154assertionCheckHTTPResponse
3.154conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3.154conditionDone: status=OK

Result

PASSED