Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2019-06-18T04:12:05Z

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": "d8fzwzusAgGKatJs",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "response_type": "code",
    "scope": "openid email",
    "state": "gFYWoFZ8Qc6YECEp"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gFYWoFZ8Qc6YECEp&nonce=d8fzwzusAgGKatJs&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=gFYWoFZ8Qc6YECEp&nonce=d8fzwzusAgGKatJs&response_type=code&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61764%2Fauthz_cb&client_id=clientID
1responseResponse URL with query part
1response{'state': 'gFYWoFZ8Qc6YECEp', 'code': 'g3H0A3MjJbC5VgY4smuFUnfMVgAjOw'}
1response{'state': 'gFYWoFZ8Qc6YECEp', 'code': 'g3H0A3MjJbC5VgY4smuFUnfMVgAjOw'}
1AuthorizationResponse
{
    "code": "g3H0A3MjJbC5VgY4smuFUnfMVgAjOw",
    "state": "gFYWoFZ8Qc6YECEp"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'gFYWoFZ8Qc6YECEp'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61764/authz_cb', 'code': 'g3H0A3MjJbC5VgY4smuFUnfMVgAjOw', 'state': 'gFYWoFZ8Qc6YECEp', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'gFYWoFZ8Qc6YECEp', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "g3H0A3MjJbC5VgY4smuFUnfMVgAjOw",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61764/authz_cb",
    "state": "gFYWoFZ8Qc6YECEp"
}
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%3A61764%2Fauthz_cb&code=g3H0A3MjJbC5VgY4smuFUnfMVgAjOw&state=gFYWoFZ8Qc6YECEp
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
1response{'access_token': 'N9Ld2HMfIUJiMNMUmVSF', 'refresh_token': '4ybeUBmuRsVnlOTMw0BH6KXBljagdD85EAsbiehX', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5IjoiSldUIn0.4cImcZWId4SQYDusEzfVYFio1IFK9kyQoynd0tKxhrF41oLKwVxuJA.jK6BQU4Z_Zt2GLY9draCeQ.KhwYa3lz-9YFZ5TCyex5x-u1pF6DM2QgdCelqp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enResponse
{
    "access_token": "N9Ld2HMfIUJiMNMUmVSF",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "gyeeK-BrbbPWyUcGyfI34A",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560834544,
        "iat": 1560831124,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "d8fzwzusAgGKatJs",
        "rt_hash": "shRPUUFOurvwNt7HV3DHAw",
        "sub": "testuser"
    },
    "refresh_token": "4ybeUBmuRsVnlOTMw0BH6KXBljagdD85EAsbiehX",
    "scope": "openid email",
    "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': 'gFYWoFZ8Qc6YECEp', '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 N9Ld2HMfIUJiMNMUmVSF'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_verified": false,
    "sub": "testuser"
}
2OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_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