Test Info

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

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 -->-->
0register
kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61365/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61365/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61365/static/jwks_61365.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61365/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61365/authz_cb"
    ],
    "response_types": [
        "code id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "PaB9dDXsfkXEOz7xPjp1",
    "client_id_issued_at": 1560755793,
    "client_secret": "x630lyySUg7ZS2tjvXlH",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61365/static/jwks_61365.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61365/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61365/authz_cb"
    ],
    "registration_access_token": "Q8ujftdW4ifwV8sDxBpL",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=PaB9dDXsfkXEOz7xPjp1",
    "response_types": [
        "code",
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "PaB9dDXsfkXEOz7xPjp1",
    "nonce": "Rz2ROKNUVZso5w1N",
    "redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
    "response_type": "code id_token",
    "scope": "openid email",
    "state": "WQz2opnKaUb5fRoe"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=WQz2opnKaUb5fRoe&nonce=Rz2ROKNUVZso5w1N&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=PaB9dDXsfkXEOz7xPjp1
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=WQz2opnKaUb5fRoe&nonce=Rz2ROKNUVZso5w1N&response_type=code+id_token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&client_id=PaB9dDXsfkXEOz7xPjp1
2http args{}
2responseURL with fragment
2responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IlJ6MlJPS05VVlpzbzV3MU4iLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJpYXQ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j5nhrOWfkIrZtTajfC_HOTBuVEuQzkpBiOqoVkYl_DX4_hMw5GH3VVS8NuiQIiuU92DMHkwg9b9uR1-H4n1cJM5hUAxq5rLoHRIjl1uFZMBpBmFDfmG9M2gnu_R79PrwslUVta-6_dA2yHg5iWOECkC4ONr83KkTPL_vKrEqixhdcQusAtvGpDvDNksxzK-EKrnOBZu4ajIuJ3MDLqt8LpF41_FLq66ePU2qz3JaS4ALr6nEYONKOEWDCZoCNO3bbmNXL_IWnD4bYbjtQyBNCkJ7_F2uCdDMt4xsVIbpr1gvdKScA7fQsPTTTQTS9qAQ', 'state': 'WQz2opnKaUb5fRoe', 'code': 'DYLK68Lpxh9MDKTs1aGFXMlSlEgmmB'}
2AuthorizationResponse
{
    "code": "DYLK68Lpxh9MDKTs1aGFXMlSlEgmmB",
    "id_token": {
        "aud": [
            "PaB9dDXsfkXEOz7xPjp1"
        ],
        "c_hash": "llwJhcOemnccE4jvEqTnHg",
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560759213,
        "iat": 1560755793,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Rz2ROKNUVZso5w1N",
        "sub": "testuser"
    },
    "state": "WQz2opnKaUb5fRoe"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'WQz2opnKaUb5fRoe'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61365/authz_cb', 'code': 'DYLK68Lpxh9MDKTs1aGFXMlSlEgmmB', 'state': 'WQz2opnKaUb5fRoe', 'grant_type': 'authorization_code', 'client_id': 'PaB9dDXsfkXEOz7xPjp1'}, 'state': 'WQz2opnKaUb5fRoe', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUGFCOWREWHNma1hFT3o3eFBqcDEiLCAic3ViIjogIlBhQjlkRFhzZmtYRU96N3hQanAxIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ6T1d2NzJZUmlPUUxqbFJWbWNsQlRCaVUyV3RwemJMMSIsICJleHAiOiAxNTYwNzU2Mzk0LCAiaWF0IjogMTU2MDc1NTc5NH0.k-WuIgZUW0mEQi8LLmfFR-hOAF33kbFqDSwIbmgcR1mSBxuviLk_tKT3yMmaItAL_s-2RYiLazD1MHgG5eMNirYHbe-xVkZnyYGHRgsRX-sSmkjoa5cR1gI_-kKxfyXIYltUz-8wmRnU05Q8yiHFUYx-JlZdlzaBBg_L1ejXmwfmZrP2QBGESxrdbsuiDo35M3SsMe02HYX_YZYUVS6ubXFGBQ7gjIWead9kVoGzoTikmD6hw9n1KauLusOnw9dm2TJQl3MliTuqN4IdYD7BzEwmWyPn1LPDxSShjZeM_cETuHkIoGCcySs4r6ZAzQK3FFO0wOM5lX55OrxvaJo80Q",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "DYLK68Lpxh9MDKTs1aGFXMlSlEgmmB",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61365/authz_cb",
    "state": "WQz2opnKaUb5fRoe"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61365%2Fauthz_cb&code=DYLK68Lpxh9MDKTs1aGFXMlSlEgmmB&state=WQz2opnKaUb5fRoe&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiUGFCOWREWHNma1hFT3o3eFBqcDEiLCAic3ViIjogIlBhQjlkRFhzZmtYRU96N3hQanAxIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJ6T1d2NzJZUmlPUUxqbFJWbWNsQlRCaVUyV3RwemJMMSIsICJleHAiOiAxNTYwNzU2Mzk0LCAiaWF0IjogMTU2MDc1NTc5NH0.k-WuIgZUW0mEQi8LLmfFR-hOAF33kbFqDSwIbmgcR1mSBxuviLk_tKT3yMmaItAL_s-2RYiLazD1MHgG5eMNirYHbe-xVkZnyYGHRgsRX-sSmkjoa5cR1gI_-kKxfyXIYltUz-8wmRnU05Q8yiHFUYx-JlZdlzaBBg_L1ejXmwfmZrP2QBGESxrdbsuiDo35M3SsMe02HYX_YZYUVS6ubXFGBQ7gjIWead9kVoGzoTikmD6hw9n1KauLusOnw9dm2TJQl3MliTuqN4IdYD7BzEwmWyPn1LPDxSShjZeM_cETuHkIoGCcySs4r6ZAzQK3FFO0wOM5lX55OrxvaJo80Q&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'fK3VXOjxaR94lzByi99d', 'refresh_token': 'eJVsFn00lq5K0JmI615KYeg85yuMtw7h8F7wfxbg', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiaV94YUxNMDdicWRyZWJaOUttOWNOQSIsIm5vbmNlIjoiUnoyUk9LTlVWWnNvNXcxTiIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsImlhdCI6MTU2MDc1NTc5NSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Img0cXhUWDluMmJEWGVFTnh5M0xheXciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1OTIxNSwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJQYUI5ZERYc2ZrWEVPejd4UGpwMSJ9.S1n5pGRBf5jGrU0TcWLBgh0LlKDRi4baalBmyp-MyCHM1C8duAba7lcJcoy-JfAZ0NkNDUWDf1NVBg9qQTM2EX-BJtckQCsI-1I5yqS8lxAyi9ATlp87xrRl5Y-CUvP4_MYKHhZK4kl5Sv5W0MOnBCMSDX5ZizZ5Ue-byV9NvMNeyO9jl1RQdqwrtrwy5RXzv1Hsb9WRuWCObkaLTgrr4G1dPZwN72v4s0MuiL72BgMHQg_cUe6D3yvCMr9R7nXur7fS_7k26gZ3B20lbEv0udEWYfNii9x-Qymbu-ij4Z5UTaYBOmUtYqoV0m-jhnrUxSFW9Llb34SAc2zQYHhRZA', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "fK3VXOjxaR94lzByi99d",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "h4qxTX9n2bDXeENxy3Layw",
        "aud": [
            "PaB9dDXsfkXEOz7xPjp1"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560759215,
        "iat": 1560755795,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Rz2ROKNUVZso5w1N",
        "rt_hash": "i_xaLM07bqdrebZ9Km9cNA",
        "sub": "testuser"
    },
    "refresh_token": "eJVsFn00lq5K0JmI615KYeg85yuMtw7h8F7wfxbg",
    "scope": "openid email",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'WQz2opnKaUb5fRoe', '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 fK3VXOjxaR94lzByi99d'}}
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