Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Req-claims_locales
Test descriptionProviding claims_locales
Timestamp2019-06-17T07:04:24Z

Conditions


check-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Note -->-->
1phase<--<-- 1 --- Webfinger -->-->
1not expected to doWebFinger
1phase<--<-- 2 --- Discovery -->-->
1provider_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<--<-- 3 --- Registration -->-->
1register
kwargs:{'response_types': ['code token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61240/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61240/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61240/static/jwks_61240.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "response_types": [
        "code 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": "BpvFomj3pwNe2LwmZoIK",
    "client_id_issued_at": 1560755062,
    "client_secret": "MJeOsuUtcjP1XJJdS8Qw",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61240/static/jwks_61240.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61240/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61240/authz_cb"
    ],
    "registration_access_token": "Zo3eKSdRoWARUUpDVESb",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=BpvFomj3pwNe2LwmZoIK",
    "response_types": [
        "code",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "claims_locales": "test",
    "client_id": "BpvFomj3pwNe2LwmZoIK",
    "nonce": "Aunjjm4DVcJDrEEL",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "jhaZsTFbeiO8VGLS"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jhaZsTFbeiO8VGLS&nonce=Aunjjm4DVcJDrEEL&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims_locales=test&client_id=BpvFomj3pwNe2LwmZoIK
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=jhaZsTFbeiO8VGLS&nonce=Aunjjm4DVcJDrEEL&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61240%2Fauthz_cb&claims_locales=test&client_id=BpvFomj3pwNe2LwmZoIK
2http args{}
2responseURL with fragment
2responseaccess_token=tzyf2P5sSPpF24X5Z7BZ&state=jhaZsTFbeiO8VGLS&expires_in=3599&token_type=bearer&code=2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV&scope=openid
2response{'access_token': 'tzyf2P5sSPpF24X5Z7BZ', 'state': 'jhaZsTFbeiO8VGLS', 'expires_in': 3599, 'token_type': 'bearer', 'code': '2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV', 'scope': 'openid'}
2AuthorizationResponse
{
    "access_token": "tzyf2P5sSPpF24X5Z7BZ",
    "code": "2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV",
    "expires_in": 3599,
    "scope": "openid",
    "state": "jhaZsTFbeiO8VGLS",
    "token_type": "bearer"
}
2phase<--<-- 5 --- AccessToken -->-->
2requestop_args: {'state': 'jhaZsTFbeiO8VGLS'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61240/authz_cb', 'code': '2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV', 'state': 'jhaZsTFbeiO8VGLS', 'grant_type': 'authorization_code', 'client_id': 'BpvFomj3pwNe2LwmZoIK'}, 'state': 'jhaZsTFbeiO8VGLS', 'authn_method': 'private_key_jwt'}
2AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQnB2Rm9tajNwd05lMkx3bVpvSUsiLCAic3ViIjogIkJwdkZvbWozcHdOZTJMd21ab0lLIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuNENMUmZrczRYcGZQVG5ibDB0S0ZOQWlzN3N2djNLZyIsICJleHAiOiAxNTYwNzU1NjYzLCAiaWF0IjogMTU2MDc1NTA2M30.zYRLqr4M8xq0d5_YwV7vRsQQRu_fThWEFIoQuUVAvXt2xQi9IlI84SwSnBgL_Ex96fgfFnz6ai-PhVO6DJJcxOZfJtJAtfY99hjtf-8P2aUq-u039C-q68TL3Kv4uoZA5lWLIynbfop8DPDjTMm1s5WpiZcPcT7rOe5Z6LQhxrpsFqN8ppzS6Ccl26Z86jNGz04rnwJF9xgQi0PxyZsAGxukvL9ivZm3ZXcx1eWJ1FWINII6QdsfOITlhgXajTOzXACXJt62_TN1CdRLrWkBhR7rR3-9zlYrnWZSgj8nc_M5nEfznSgMVBsgO0YYoHE3WeU46h_K9GJUoMwLAlIA3Q",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61240/authz_cb",
    "state": "jhaZsTFbeiO8VGLS"
}
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%3A61240%2Fauthz_cb&code=2VAM1lHHt1xVdr0M42xjCJ0QYhgPzV&state=jhaZsTFbeiO8VGLS&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiQnB2Rm9tajNwd05lMkx3bVpvSUsiLCAic3ViIjogIkJwdkZvbWozcHdOZTJMd21ab0lLIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJuNENMUmZrczRYcGZQVG5ibDB0S0ZOQWlzN3N2djNLZyIsICJleHAiOiAxNTYwNzU1NjYzLCAiaWF0IjogMTU2MDc1NTA2M30.zYRLqr4M8xq0d5_YwV7vRsQQRu_fThWEFIoQuUVAvXt2xQi9IlI84SwSnBgL_Ex96fgfFnz6ai-PhVO6DJJcxOZfJtJAtfY99hjtf-8P2aUq-u039C-q68TL3Kv4uoZA5lWLIynbfop8DPDjTMm1s5WpiZcPcT7rOe5Z6LQhxrpsFqN8ppzS6Ccl26Z86jNGz04rnwJF9xgQi0PxyZsAGxukvL9ivZm3ZXcx1eWJ1FWINII6QdsfOITlhgXajTOzXACXJt62_TN1CdRLrWkBhR7rR3-9zlYrnWZSgj8nc_M5nEfznSgMVBsgO0YYoHE3WeU46h_K9GJUoMwLAlIA3Q&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': 'iVe0KSu1IbmzuMvVyv6P', 'refresh_token': 'GFuuXdnd0Fgt3M6FP1UNhGEpw7AHOFbsQBNjedrU', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiWVNlYzJpZ0NBMF9ZRmd2aXZNZ3dNUSIsIm5vbmNlIjoiQXVuamptNERWY0pEckVFTCIsImlhdCI6MTU2MDc1NTA2NCwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6IjJzVG9hTnRDM3A5TFBMbmVTNXd2TEEiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODQ4NCwiYXVkIjoiQnB2Rm9tajNwd05lMkx3bVpvSUsifQ.UdqnkEiuLZoYx-PDQT6JYHEx-_CWlxcBOLSB1dOLqT3aQjJNQyt68edQUK44aDFVyJwBuPoCb_FzZcr110WOLBfE-jDBLgyIwK7buqK5nBiTHVRlnqM4b8rDxcNDlC-mDqHabvlcnk7YTAgiOTiOZ-l2-V8rQo9Kp1NGVq_GlIlYY7_-gbDjtcsUtEj4fuZY5ozoyK-FjbS-evAgnZ6IzmX-f4xhtUkmDVzi6qBui4aAqwrF0NGtGCHQ4XVULMV3WJTCnD_xGMR2h73hxsOnzXvn7oqCWXzL1tUzDTo-SuwUOTWQsUhYpWyLT2l7g6qyiYNRWquay8mDdPLZZ2UQAg', 'token_type': 'bearer', 'expires_in': 3599}
3AccessTokenResponse
{
    "access_token": "iVe0KSu1IbmzuMvVyv6P",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "2sToaNtC3p9LPLneS5wvLA",
        "aud": [
            "BpvFomj3pwNe2LwmZoIK"
        ],
        "exp": 1560758484,
        "iat": 1560755064,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Aunjjm4DVcJDrEEL",
        "rt_hash": "YSec2igCA0_YFgvivMgwMQ",
        "sub": "testuser"
    },
    "refresh_token": "GFuuXdnd0Fgt3M6FP1UNhGEpw7AHOFbsQBNjedrU",
    "scope": "openid",
    "token_type": "bearer"
}
3jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
3phase<--<-- 6 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'jhaZsTFbeiO8VGLS', '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 iVe0KSu1IbmzuMvVyv6P'}}
3http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
3OpenIDSchema
{
    "sub": "testuser"
}
3OpenIDSchema
{
    "sub": "testuser"
}
3phase<--<-- 7 --- DisplayUserInfo -->-->
3phase<--<-- 8 --- Done -->-->
3end
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]
3conditionDone: status=OK

Result

PASSED