Test Info

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

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": "PZsmai95ADn0bOZQ",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "response_type": "code id_token",
    "scope": "openid phone",
    "state": "17ZUhcsi3Per7wCG"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=17ZUhcsi3Per7wCG&nonce=PZsmai95ADn0bOZQ&response_type=code+id_token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=17ZUhcsi3Per7wCG&nonce=PZsmai95ADn0bOZQ&response_type=code+id_token&scope=openid+phone&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&client_id=clientID
1http args{}
1responseURL with fragment
1responsestate=17ZUhcsi3Per7wCG&code=423FcP7OGKrBympFY8ky7hwnAhbU1A&id_token=eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU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aLD4LqQsJ6Ks4x-jWTn2UX8NzKGQQ2on8xNDXWQRfyikb8ymqVT6KeEAPEpDR1co8Qgm35eBNa36CWKezLrp_42A25VR1cMhumhuMedkwq2Xfu3zmthOeECnzbyGoePovb0Zw.wS64-rk9aLiiLcN6omD_YQ'}
1AuthorizationResponse
{
    "code": "423FcP7OGKrBympFY8ky7hwnAhbU1A",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "hZKjxJjO2Is6h7frQyqaEA",
        "exp": 1560834960,
        "iat": 1560831540,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "PZsmai95ADn0bOZQ",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "sub": "testuser"
    },
    "state": "17ZUhcsi3Per7wCG"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': '17ZUhcsi3Per7wCG'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61772/authz_cb', 'code': '423FcP7OGKrBympFY8ky7hwnAhbU1A', 'state': '17ZUhcsi3Per7wCG', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '17ZUhcsi3Per7wCG', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "423FcP7OGKrBympFY8ky7hwnAhbU1A",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61772/authz_cb",
    "state": "17ZUhcsi3Per7wCG"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61772%2Fauthz_cb&code=423FcP7OGKrBympFY8ky7hwnAhbU1A&state=17ZUhcsi3Per7wCG
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status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aUbKgugCKRiWMKyKAfMXHVmSWXvR0xLQaNTiKoiJoV4vqthUnjFqvqshWmqCqo5h0nH-PmxfbJbiR0sT1lHGoxohBTpKM4aRQhvz_ZUn5mQ_jz6-5nhfr3DsvT4-Q3fXoljvB5Lt7US7FMjESTCm1GavTStVS5XHyCBUW5DdOz3dYKfZo91x8FpZA-Fm8ElNBCAi3dTkLj-9-_IL_aRs3dCl4QszaeVx9w.onhLXBMwX6Y945bTFhVDlQ', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "jOrYG26pT5hZeXoSuDZ8",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ZQfB00f4cw4X1H_XDOW3UQ",
        "aud": [
            "clientID"
        ],
        "exp": 1560834962,
        "iat": 1560831542,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "PZsmai95ADn0bOZQ",
        "phone_number": "87654215",
        "phone_number_verified": false,
        "rt_hash": "8nU1R2C8jUymQXHa8WVS3g",
        "sub": "testuser"
    },
    "refresh_token": "lVszj8xTlXH6X07a39UdXTAP64GlkzeujrSlTuyJ",
    "scope": "phone openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 5 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': '17ZUhcsi3Per7wCG', '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 jOrYG26pT5hZeXoSuDZ8'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
3OpenIDSchema
{
    "phone_number": "87654215",
    "phone_number_verified": false,
    "sub": "testuser"
}
3phase<--<-- 6 --- Done -->-->
3end
3assertionVerifyScopes
3conditionverify-scopes: status=OK [Verifies that the claims corresponding to the requested scopes are returned]
3assertionCheckHTTPResponse
3conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
3assertionVerifyResponse
3conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
3conditionDone: status=OK

Result

PASSED