Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-phone
Test descriptionScope requesting phone claims
Timestamp2019-06-17T08:05:15Z

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_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": "vnDDkkUrtCAmHTIZ",
    "redirect_uri": "https://op.certification.openid.net:61515/authz_cb",
    "response_type": "id_token token",
    "scope": "openid phone",
    "state": "AZNGL3W6A3jORoBn"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=AZNGL3W6A3jORoBn&nonce=vnDDkkUrtCAmHTIZ&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61515%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=AZNGL3W6A3jORoBn&nonce=vnDDkkUrtCAmHTIZ&response_type=id_token+token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61515%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=0H26ldyEIGzSWRn9ou5l&state=AZNGL3W6A3jORoBn&expires_in=3599&token_type=bearer&scope=phone%20openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6InZuRERra1VydENBbUhUSVoiLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1ODcxNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkhrdkFBQ3NHbkFmWl8xcWJ3NE83UlEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MjEzNCwiYXVkIjoiY2xpZW50SUQifQ.OkwdeXHkplTu_fRnrDMlL_dlE_Yj6seLe11v0qmeFClPTJ6qTv95r24Ly7sMu2RdYhEGTGS5fdhQQ2SxuY5PXbgXx7Z2PhNW19U8n40sfBpWAQ5EIexQjoPqmApGpYn1tBZB2us7JoB-3tccTNmX1rJsN6o_g0ow66nj9ACWlr2uluQNMxXQVlaXrsaX-zPh96BZEFPSWh44TbTJ0HQ_glyiDVHDBXsvqeFX3l4McWgJwz1o1uOxh9czhp3v2NMTE1WLSLjMnD81NHLXb6a__DQX_moUR-d1j9Qj7Od7-JhExTy36BNQq1kvYA4ngRhrYuHdKMGl4Qxk1NFOChsGSA
2response{'access_token': '0H26ldyEIGzSWRn9ou5l', 'state': 'AZNGL3W6A3jORoBn', 'expires_in': 3599, 'token_type': 'bearer', 'scope': 'phone openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJub25jZSI6InZuRERra1VydENBbUhUSVoiLCJwaG9uZV9udW1iZXIiOiI4NzY1NDIxNSIsImlhdCI6MTU2MDc1ODcxNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IkhrdkFBQ3NHbkFmWl8xcWJ3NE83UlEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MjEzNCwiYXVkIjoiY2xpZW50SUQifQ.OkwdeXHkplTu_fRnrDMlL_dlE_Yj6seLe11v0qmeFClPTJ6qTv95r24Ly7sMu2RdYhEGTGS5fdhQQ2SxuY5PXbgXx7Z2PhNW19U8n40sfBpWAQ5EIexQjoPqmApGpYn1tBZB2us7JoB-3tccTNmX1rJsN6o_g0ow66nj9ACWlr2uluQNMxXQVlaXrsaX-zPh96BZEFPSWh44TbTJ0HQ_glyiDVHDBXsvqeFX3l4McWgJwz1o1uOxh9czhp3v2NMTE1WLSLjMnD81NHLXb6a__DQX_moUR-d1j9Qj7Od7-JhExTy36BNQq1kvYA4ngRhrYuHdKMGl4Qxk1NFOChsGSA'}
2AuthorizationResponse
{
    "access_token": "0H26ldyEIGzSWRn9ou5l",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "HkvAACsGnAfZ_1qbw4O7RQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560762134,
        "iat": 1560758714,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "vnDDkkUrtCAmHTIZ",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "sub": "testuser"
    },
    "scope": "phone openid",
    "state": "AZNGL3W6A3jORoBn",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'AZNGL3W6A3jORoBn', '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 0H26ldyEIGzSWRn9ou5l'}}
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