Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-scope-email
Test descriptionScope requesting email claims
Timestamp2019-06-17T08:23: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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "oxPpiLUIPsIZt6we",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid email",
    "state": "TTc59Sz7hzcniMSZ"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=TTc59Sz7hzcniMSZ&nonce=oxPpiLUIPsIZt6we&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=TTc59Sz7hzcniMSZ&nonce=oxPpiLUIPsIZt6we&response_type=code+id_token+token&scope=openid+email&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61578%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseaccess_token=Blxkp4Bgos0m8VeKGBJ1&state=TTc59Sz7hzcniMSZ&expires_in=3599&token_type=bearer&code=nWXkQdVTbsS33KiseZEX4iwaPbS8Mf&scope=openid%20email&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Im94UHBpTFVJUHNJWnQ2d2UiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJpYXQiOjE1NjA3NTk4MTMsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJlTExVZWJZQnRRUHo4SG1IUnB4SXBnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMyMzMsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY19oYXNoIjoibzlUdzNZdXBSNHh2ZV9yaVJha0ZLUSIsImF1ZCI6ImNsaWVudElEIn0.nHTf5mV-O-ZG0GGoG3nMOzUbOj640_zpY_CqwuOe7Pk8oK8vK4sc2coLAzAk3aKuEL698AUpBwJqTIWA0iZoOYLJKIO-zFjyRBA0fOfeJdXGPw8BTCLbrTG9NX1x1461xJjk1C9KrTSTdo3qOSN-OZpBNFmROSKsF0o7DhfCkODxIBG4qBUDhf8XuOlZhPq8oUXu3HYjgW5Z5ROvMK2wOyJ5ZLIktw9jsL6cu6NiwpCq65NkXpFc4-nEkbjNYUjhbftEZem9-Q_wUbwap4xdPk1OYSaoay8SM0rEN7kBVL7_f-m4YIg893NCU0XEnJ3p5onhrWmdjLWjAvz7x7zTWA
2response{'access_token': 'Blxkp4Bgos0m8VeKGBJ1', 'state': 'TTc59Sz7hzcniMSZ', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'nWXkQdVTbsS33KiseZEX4iwaPbS8Mf', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6Im94UHBpTFVJUHNJWnQ2d2UiLCJlbWFpbCI6InRlc3RfaXNhbWZlZEBnbWFpbC5jb20iLCJpYXQiOjE1NjA3NTk4MTMsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJlTExVZWJZQnRRUHo4SG1IUnB4SXBnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NjMyMzMsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY19oYXNoIjoibzlUdzNZdXBSNHh2ZV9yaVJha0ZLUSIsImF1ZCI6ImNsaWVudElEIn0.nHTf5mV-O-ZG0GGoG3nMOzUbOj640_zpY_CqwuOe7Pk8oK8vK4sc2coLAzAk3aKuEL698AUpBwJqTIWA0iZoOYLJKIO-zFjyRBA0fOfeJdXGPw8BTCLbrTG9NX1x1461xJjk1C9KrTSTdo3qOSN-OZpBNFmROSKsF0o7DhfCkODxIBG4qBUDhf8XuOlZhPq8oUXu3HYjgW5Z5ROvMK2wOyJ5ZLIktw9jsL6cu6NiwpCq65NkXpFc4-nEkbjNYUjhbftEZem9-Q_wUbwap4xdPk1OYSaoay8SM0rEN7kBVL7_f-m4YIg893NCU0XEnJ3p5onhrWmdjLWjAvz7x7zTWA'}
2AuthorizationResponse
{
    "access_token": "Blxkp4Bgos0m8VeKGBJ1",
    "code": "nWXkQdVTbsS33KiseZEX4iwaPbS8Mf",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "eLLUebYBtQPz8HmHRpxIpg",
        "aud": [
            "clientID"
        ],
        "c_hash": "o9Tw3YupR4xve_riRakFKQ",
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560763233,
        "iat": 1560759813,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "oxPpiLUIPsIZt6we",
        "sub": "testuser"
    },
    "scope": "openid email",
    "state": "TTc59Sz7hzcniMSZ",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': 'TTc59Sz7hzcniMSZ'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61578/authz_cb', 'code': 'nWXkQdVTbsS33KiseZEX4iwaPbS8Mf', 'state': 'TTc59Sz7hzcniMSZ', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'TTc59Sz7hzcniMSZ', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "nWXkQdVTbsS33KiseZEX4iwaPbS8Mf",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61578/authz_cb",
    "state": "TTc59Sz7hzcniMSZ"
}
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%3A61578%2Fauthz_cb&code=nWXkQdVTbsS33KiseZEX4iwaPbS8Mf&state=TTc59Sz7hzcniMSZ
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
3response{'access_token': 'tkudfhaEKf7ohmcie52p', 'refresh_token': 'sdWpOaRQ3bd5lkYZJ5RG4kMsjZiIlKxCZoCmIvVe', 'scope': 'openid email', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiS3ZTWmJKWng5WkhfcngxVW1vZGM4dyIsIm5vbmNlIjoib3hQcGlMVUlQc0ladDZ3ZSIsImVtYWlsIjoidGVzdF9pc2FtZmVkQGdtYWlsLmNvbSIsImlhdCI6MTU2MDc1OTgxNCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ik1KV2VtX0ZnMWJGb3l1TndKQ180ZGciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MzIzNCwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJhdWQiOiJjbGllbnRJRCJ9.ux6kUvuS4GivwOUJcp6MguwdRDLWnufmfx5gP-VBu7y2yPcU3dQbmtPhAG4EwlrXvcW8JcmJ3Bd6RylIBCtNYigGrQOuG-SDmMXerGTTwDHYZKT2VJ08TXuPluogsqu8xSCsdsQ3xSLDqe8-SLb6rmXXa3bjbMt-LJJ3NgdP7Y3wNZTucW3ZTLHeY2jnQyfopzoE2xo8sz98GDqe3F6Ma8S28M0w0hWubpkO2XgMfI29Wm_AzYkJX0qF8xhHtg99x3sXutGRD8dhTZ1nhS9ySGYr7edX8_5w-3vH_bPSkzO7GnPvT3njEtcBP-AtT3GyuHPZXT3UZGlAvoEQTolsZQ', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "tkudfhaEKf7ohmcie52p",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "MJWem_Fg1bFoyuNwJC_4dg",
        "aud": [
            "clientID"
        ],
        "email": "test_isamfed@gmail.com",
        "email_verified": false,
        "exp": 1560763234,
        "iat": 1560759814,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "oxPpiLUIPsIZt6we",
        "rt_hash": "KvSZbJZx9ZH_rx1Umodc8w",
        "sub": "testuser"
    },
    "refresh_token": "sdWpOaRQ3bd5lkYZJ5RG4kMsjZiIlKxCZoCmIvVe",
    "scope": "openid email",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'TTc59Sz7hzcniMSZ', '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 tkudfhaEKf7ohmcie52p'}}
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