Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2019-06-18T04:27:26Z

Conditions


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]
verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
0http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
0ProviderConfigurationResponse
{
    "authorization_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/authorize",
    "claims_parameter_supported": false,
    "claims_supported": [
        "realmName",
        "preferred_username",
        "given_name",
        "uid",
        "upn",
        "groupIds",
        "employee_id",
        "name",
        "tenantId",
        "mobile_number",
        "department",
        "job_title",
        "family_name",
        "email"
    ],
    "device_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/device_authorize",
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:jwt-bearer",
        "implicit",
        "urn:ietf:params:oauth:grant-type:saml2-bearer",
        "urn:ietf:params:oauth:grant-type:device_code",
        "client_credentials",
        "password",
        "authorization_code",
        "refresh_token"
    ],
    "id_token_encryption_alg_values_supported": [
        "A128KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC-HS256"
    ],
    "id_token_signing_alg_values_supported": [
        "RS256"
    ],
    "introspect_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/introspect",
    "issuer": "https://isamfed.com:30443/test",
    "jwks_uri": "https://isamfed.com:30443/mga/sps/jwks",
    "name": "OIDCDefinition",
    "poc": "https://isamfed.com:30443/mga/",
    "registration_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition",
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "response_modes_supported": [
        "fragment",
        "form_post"
    ],
    "response_types_supported": [
        "token",
        "id_token",
        "token id_token",
        "code",
        "code id_token",
        "code token id_token",
        "code token",
        "none"
    ],
    "revocation_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/revoke",
    "subject_types_supported": [
        "public"
    ],
    "token_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/token",
    "token_endpoint_auth_methods_supported": [
        "private_key_jwt",
        "client_secret_post",
        "client_secret_basic"
    ],
    "user_authorize_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/user_authorize",
    "userinfo_endpoint": "https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo",
    "userinfo_signing_alg_values_supported": [
        "RS256"
    ],
    "version": "3.0"
}
0phase<--<-- 2 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "brKeePlI7BKnZuvL",
    "redirect_uri": "https://op.certification.openid.net:61770/authz_cb",
    "response_type": "id_token token",
    "scope": "openid phone",
    "state": "8CxBjkpKUlcmkjXC"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8CxBjkpKUlcmkjXC&nonce=brKeePlI7BKnZuvL&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=8CxBjkpKUlcmkjXC&nonce=brKeePlI7BKnZuvL&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61770%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=wpXJMr7Jr2PUKdUDPwZs&state=8CxBjkpKUlcmkjXC&expires_in=3599&token_type=bearer&scope=phone%20openid&id_token=eyJhbGciOiJBMTI4S1ciLCJ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3XWeqFNhUvby-0SOWbTPryBVEeHxerG5tL1jfXThJkrk.Cv7MmnXA0ncdk8UJbuAaIw
2response{'access_token': 'wpXJMr7Jr2PUKdUDPwZs', 'state': '8CxBjkpKUlcmkjXC', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'phone openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.Ra96zx0I6iDGNOqBjKmRtpkD-fbUYoOqY4SRulCgfbEarpwVz4PCTQ.tK2zakhVyP-TWsrnN4ricA.EOK7hAr7qmKwE61R_OHQNV_5IcKGt7oimaoye--zl82ze3SQKW2tFz342AkFi9IzTLWsN_FtT8gyOd0iMN1-Kq37gOfEoccsJ6A6O_tyGNtUek6jJ0ijTdy_w4-FCEbfF1oUDz_LYjM-UbxHJvRKOjXegDBfjrr0P0Gd7Cc9PX4prP9EphqP0v8pFqLBksY1lNvrXksTYcXcyiAhUXwnzUkqEMVNUHoqIqPbDJOdk6XPKiiRy0KV49rmS65_p68o0H-MTNWU-khgybTsJQR3QkJdlsdLeMhmVzRj_BcuAWNEtqQui6GMoc0LF8CNopPp3K3-qyCcKfxBnSzPiH-LzBeiDHB7ZPBCzm84QcmugI0xqnAwfMegzfIk69Qupss1NKLIyGyRHzTIdCcn9PhRVMvo5cWH_MQFTzo-8QpHTXBCoNVtBFjB9jXFvDhjVHFnHSDvtysRUilG0GXhV3WNEVgizyuW6Z8w_CGV5lcL2letkRCje_IaajRl0QxUlAGDpH6XnsNHonC7-PxanEYBUsCxEXC3U0XkK3Uh-kgYAkuYYZlkBhMnoCGXjmjT0RG6HX5tGV31_mNqDJv_puCammlcHNellX3kT101aH-PXRcAlECiULUaGCooupq-AlPuYgWOQoTna5EB_-eABj7vrndC9xEkMVrwSv9yC5AQTNlq8r8tQdsgScW3A49PwpJNNlKlNr5MVoAvwsfkJuAyyc-u_IEqsOyr2OMuepPswwR_jYFjHr1gFLada14Z2Mc5mzTZAlAvOceC6I4t4A4zDoijHmmnKjr_JX6RBPOTfWMu8qwFUorxcoj3K_gOYaeDksn_U0bFPHv9lsL-Ms3Jd7FPxhpOqEypko2vlqf28TUaDXa-UWwV03ZpcboaKfu8bMK31iB6J7Vn5_9RhQ8LEvO9lNYS5ieEvVSqdugk89BEG6bKcyDlsDZLo2WJKrb3XWeqFNhUvby-0SOWbTPryBVEeHxerG5tL1jfXThJkrk.Cv7MmnXA0ncdk8UJbuAaIw'}
2AuthorizationResponse
{
    "access_token": "wpXJMr7Jr2PUKdUDPwZs",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "sBXV4B9uFpUJDUXB1lnoig",
        "aud": [
            "clientID"
        ],
        "exp": 1560835465,
        "iat": 1560832045,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "brKeePlI7BKnZuvL",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "sub": "testuser"
    },
    "scope": "phone openid",
    "state": "8CxBjkpKUlcmkjXC",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': '8CxBjkpKUlcmkjXC', 'method': 'GET', 'authn_method': 'bearer_header'}
2request{'body': None}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
2request_http_args{'headers': {'Authorization': 'Bearer wpXJMr7Jr2PUKdUDPwZs'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
2OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
2phase<--<-- 6 --- Done -->-->
2end
2assertionVerifyScopes
2conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED