Test Info

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

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_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"
}
1phase<--<-- 2 --- Registration -->-->
1not expected to doDynamic registration
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "dehSKKLL7kVZ28NX",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "response_type": "code token",
    "scope": "openid email",
    "state": "wja2i21WrEWCSMzL"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wja2i21WrEWCSMzL&nonce=dehSKKLL7kVZ28NX&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wja2i21WrEWCSMzL&nonce=dehSKKLL7kVZ28NX&response_type=code+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=fphLMZFxEE1L4TRYPfWU&state=wja2i21WrEWCSMzL&expires_in=3599&token_type=bearer&code=vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW&scope=openid%20email
2response{'access_token': 'fphLMZFxEE1L4TRYPfWU', 'state': 'wja2i21WrEWCSMzL', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW', 'scope': 'openid email'}
2AuthorizationResponse
{
    "access_token": "fphLMZFxEE1L4TRYPfWU",
    "code": "vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW",
    "expires_in": 3599,
    "scope": "openid email",
    "state": "wja2i21WrEWCSMzL",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'wja2i21WrEWCSMzL'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW', 'state': 'wja2i21WrEWCSMzL', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'wja2i21WrEWCSMzL', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "state": "wja2i21WrEWCSMzL"
}
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%3A61771%2Fauthz_cb&code=vLJQq4bRmp3jBCD8cE2NdrtPXuHHXW&state=wja2i21WrEWCSMzL
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'mh9L0BrIpC9pRoxcqiyr', 'refresh_token': 'RKWCY0vHI9Xhjiohyvrp2xPMuu0ylCPmGIqhKZQK', 'scope': 'openid email', 'id_token': 'eyJhbGciOiJBMTI4S1ciLC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anAN6CVQyAA2Vk1zn9GDI5wFAgl9T1_hEDPBJOAZknIp4HBHH2QIDrpGeqTIE4PvkEuJTTcrLqP-w.5ZmSF3lyMuuiofzsjpYv3Q', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "mh9L0BrIpC9pRoxcqiyr",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "lG-rfetO3PhLoIZPC913zQ",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560835151,
        "iat": 1560831731,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "dehSKKLL7kVZ28NX",
        "rt_hash": "p8ezBsfrwyN0ehKNhTVe4g",
        "sub": "testuser"
    },
    "refresh_token": "RKWCY0vHI9Xhjiohyvrp2xPMuu0ylCPmGIqhKZQK",
    "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': 'wja2i21WrEWCSMzL', '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 mh9L0BrIpC9pRoxcqiyr'}}
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