Test Info

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

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'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "BvBapOoTTN6NWSXQ",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "response_type": "code id_token",
    "scope": "openid email",
    "state": "eMOjHr2sbdHIZrTM"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=eMOjHr2sbdHIZrTM&nonce=BvBapOoTTN6NWSXQ&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=eMOjHr2sbdHIZrTM&nonce=BvBapOoTTN6NWSXQ&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
2http args{}
2responseURL with fragment
2responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IkJ2QmFwT29UVE42TldTWFEiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJ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ennkhy2gxANIuvDHkOUaF6x8YVpZOu6BEWOgVeC3svuGANs-sVHAIzTm9fS4XjurRWx1q4jBMVAzzq8h9vr4MLGFiKieoqw-C98O0ttd4UuBLjqh17oNSz0qqTYEPFa-xtuqfjNVSJVy6fwyci7IljlWQYSDn-Z4BaUjlJAd2gEK-SmgcufyFd85hcGdDC9X1jlufLCsEV0HKU64641RJg3JQGUJATh_818uVSZNCSy0jcLjdZ3PJMfMAU-ccchjFz7NmZmyYDFdGEatTv3KiVQ', 'state': 'eMOjHr2sbdHIZrTM', 'code': 'FaCEsys5uRlmN9BXDxvoAIa58ue1jH'}
2AuthorizationResponse
{
    "code": "FaCEsys5uRlmN9BXDxvoAIa58ue1jH",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "IkwJ_ksOtABD-TkcCYxqSg",
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560761940,
        "iat": 1560758520,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "BvBapOoTTN6NWSXQ",
        "sub": "testuser"
    },
    "state": "eMOjHr2sbdHIZrTM"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'eMOjHr2sbdHIZrTM'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': 'FaCEsys5uRlmN9BXDxvoAIa58ue1jH', 'state': 'eMOjHr2sbdHIZrTM', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'eMOjHr2sbdHIZrTM', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "FaCEsys5uRlmN9BXDxvoAIa58ue1jH",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "state": "eMOjHr2sbdHIZrTM"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=FaCEsys5uRlmN9BXDxvoAIa58ue1jH&state=eMOjHr2sbdHIZrTM
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'doB9dusLD6OyBgTohclD', 'refresh_token': 'jm19y1l7CB9hGzOtZAtCLERE81AVXZwiLVX48B1T', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWTRCdmk2cVl0STNKaU9TV0JiR2RnQSIsIm5vbmNlIjoiQnZCYXBPb1RUTjZOV1NYUSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsImlhdCI6MTU2MDc1ODUyMSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ijl3bjhRRGhPR3N6eUU0dlZ3bnhUSlEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTk0MSwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJjbGllbnRJRCJ9.Nh9SW4COUKyxNLKPU1rUpxAJs6bCalvtg_TXu2UmDj8n8Iw0bGMlrWtlElp5WexXRSfjZBN9FtWSUkKbifF3X47fbWDN-X2HWcagwQc4JUcn427ZcrCaDdbgMQwxddquBc499ym_tsevkFsxlIQwYlqq4j8ZkObH13RfZudovkUP6o8EPJqJdxd-PtuJ6mrlvj8K8i_4zCD9_Wgn36jmPiAkCgIAXq87WtxvQlpB_3VunRXWFhhURiPk2hkZhFjo2sAgq-OTqh6Lv6Jns_SsQz7VfSiV0WklSMihd92MbJgxpPFGLjf58Adp6JVZFoH8LTXpMM7h_qbgWiSjG-tP7w', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "doB9dusLD6OyBgTohclD",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "9wn8QDhOGszyE4vVwnxTJQ",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560761941,
        "iat": 1560758521,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "BvBapOoTTN6NWSXQ",
        "rt_hash": "Y4Bvi6qYtI3JiOSWBbGdgA",
        "sub": "testuser"
    },
    "refresh_token": "jm19y1l7CB9hGzOtZAtCLERE81AVXZwiLVX48B1T",
    "scope": "openid email",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'eMOjHr2sbdHIZrTM', 'method': 'GET', 'authn_method': 'bearer_header'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer doB9dusLD6OyBgTohclD'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_verified": false,
    "sub": "testuser"
}
3OpenIDSchema
{
    "email": "test_isamfed@gmail.com",
    "email_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