Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Req-claims_locales
Test descriptionProviding claims_locales
Timestamp2019-06-18T04:22:30Z

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 -->-->
0phase<--<-- 1 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 2 --- 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_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"
}
0phase<--<-- 3 --- Registration -->-->
0not expected to doDynamic registration
0phase<--<-- 4 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "claims_locales": "test",
    "client_id": "clientID",
    "nonce": "u1Iqf7aNd0NzkvDO",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "k2VjoTjMVe0Wmuyz"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=k2VjoTjMVe0Wmuyz&nonce=u1Iqf7aNd0NzkvDO&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&claims_locales=test&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=k2VjoTjMVe0Wmuyz&nonce=u1Iqf7aNd0NzkvDO&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&claims_locales=test&client_id=clientID
1http args{}
1responseURL with fragment
1responseaccess_token=2g2B8tMajZOy2NjT3mCg&state=k2VjoTjMVe0Wmuyz&expires_in=3599&token_type=bearer&code=cTRQJmFSBjv81ssnah1JZSX9AsKTcb&scope=openid
1response{'access_token': '2g2B8tMajZOy2NjT3mCg', 'state': 'k2VjoTjMVe0Wmuyz', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'cTRQJmFSBjv81ssnah1JZSX9AsKTcb', 'scope': 'openid'}
1AuthorizationResponse
{
    "access_token": "2g2B8tMajZOy2NjT3mCg",
    "code": "cTRQJmFSBjv81ssnah1JZSX9AsKTcb",
    "expires_in": 3599,
    "scope": "openid",
    "state": "k2VjoTjMVe0Wmuyz",
    "token_type": "bearer"
}
1phase<--<-- 5 --- AccessToken -->-->
1requestop_args: {'state': 'k2VjoTjMVe0Wmuyz'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'cTRQJmFSBjv81ssnah1JZSX9AsKTcb', 'state': 'k2VjoTjMVe0Wmuyz', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'k2VjoTjMVe0Wmuyz', 'authn_method': 'client_secret_basic'}
1AccessTokenRequest
{
    "code": "cTRQJmFSBjv81ssnah1JZSX9AsKTcb",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "state": "k2VjoTjMVe0Wmuyz"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&code=cTRQJmFSBjv81ssnah1JZSX9AsKTcb&state=k2VjoTjMVe0Wmuyz
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': '1kkz6h6eIswvVFElUqQH', 'refresh_token': 'dlsjZf5ZgwF3LS9YQT1jrVBNhY6wfuxG6P28cP6O', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJ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B._LqUxpdSDoOitdoc7O327A', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "1kkz6h6eIswvVFElUqQH",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "-t8kjNJleidBUJLeglAvAg",
        "aud": [
            "clientID"
        ],
        "exp": 1560835170,
        "iat": 1560831750,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "u1Iqf7aNd0NzkvDO",
        "rt_hash": "nc_6wzdNAyPQCVbQPlOtSg",
        "sub": "testuser"
    },
    "refresh_token": "dlsjZf5ZgwF3LS9YQT1jrVBNhY6wfuxG6P28cP6O",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
2phase<--<-- 6 --- UserInfo -->-->
2do_user_info_request
kwargs:{'state': 'k2VjoTjMVe0Wmuyz', '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 1kkz6h6eIswvVFElUqQH'}}
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
2OpenIDSchema
{
    "sub": "testuser"
}
2OpenIDSchema
{
    "sub": "testuser"
}
2phase<--<-- 7 --- DisplayUserInfo -->-->
2phase<--<-- 8 --- Done -->-->
2end
2assertionCheckHTTPResponse
2conditioncheck-http-response: status=OK [Checks that the HTTP response status is within the 200 or 300 range. Also does some extra JSON checks]
2conditionDone: status=OK

Result

PASSED