Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-UserInfo-RS256
Test descriptionRP registers userinfo_signed_response_alg to signal that it wants signed UserInfo returned
Timestamp2019-06-17T15:14:36Z

Conditions


asym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
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": [
        "RSA-OAEP-256"
    ],
    "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 -->-->
1register
kwargs:{'response_types': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt', 'userinfo_signed_response_alg': 'RS256'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "2pcualcEtWynJ0mqnvtD",
    "client_id_issued_at": 1560784473,
    "client_secret": "AK0CjvkLQqrepNYdjcIX",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "registration_access_token": "RnASnfIHsiQ0kGiV3zJR",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=2pcualcEtWynJ0mqnvtD",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "userinfo_signed_response_alg": "RS256"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "2pcualcEtWynJ0mqnvtD",
    "nonce": "9zgYZVIF98LUK3hq",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "IpkKzfyfvRycCLRf"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=IpkKzfyfvRycCLRf&nonce=9zgYZVIF98LUK3hq&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=2pcualcEtWynJ0mqnvtD
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=IpkKzfyfvRycCLRf&nonce=9zgYZVIF98LUK3hq&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=2pcualcEtWynJ0mqnvtD
2http args{}
2responseURL with fragment
2responseaccess_token=aFlT3IORzjSJB3fV1yZb&state=IpkKzfyfvRycCLRf&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yN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yl-5yg-CccwsaS9-li248CyVCP-pKScNsrO6wypfaWpz4b3xQoRfVh-GRxWmQZoqEgpGNeD322xmjtbiLkmp4cmPgN1sbGgn8N5UHUyt9gzt4JPzc2XR_EkOHTbqDwpEC7j_0RRWivzHlOEya60-0blgre-pErcmd6jBXUShq173y6N0ewa8gf7WVi3H6FjGyTCiFLTGG9IW_Nhcq-DZNlPRCZILtLRvpE2gENGbgUIiAtrCSw7f8RTbNOLX4EwAM6PanYnYru9XT7NYRO1dqnTiWJAw5ycfZbuzUDMGlhfco2qsteLtmXESAhReMC3hqXNpMLlA1CW2iciCYxSsUHsVyTBj8KwvTjB1TcfzqbSEBoenkLQScVDip8REV94DZ7fR74fq2zkXnzsvnXwfPfSMtQav1K6r8nemJwt1noqzsoEYCi2plAy2qAPkIseYjTuWprBxtg4fJ1aMTSlO7WVyPT5OmWURffXGyoUO-pdsQEl8xhNeDGYdvFhVsA9-bx-zv3nj2iPNlkKpIb5hJFkO0hCFPahvDnZdVj4pF1pDZb8IFldEOyXSE9OUUdxeUNyzOs8JuABElFcDqQnLBiMFHaj12-RqId6r71sXJ1tY6Gp1zlFtFVRRf3UG7iq-di1TODP-ABsq-3AuaOwaWzGtp-X4yEQSCcJvmFGhm1yY5IatQhBjzlJxUdV7ygX6Q_Vqea3AiCqYJ9UxxAuWQSNIA95hdVV8GjcsKiCEq5IgcJEvjwRWQDD-TG9rEnqecQ2TmiZcBtNiJBsy8o7hLT79Q_GBurWPThK9eadg.wMewL2UAIXOaBy7f2Go86A'}
3AuthorizationResponse
{
    "access_token": "aFlT3IORzjSJB3fV1yZb",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "WbDdeeAa-a_Bano8uhj1NA",
        "aud": [
            "2pcualcEtWynJ0mqnvtD"
        ],
        "exp": 1560787894,
        "iat": 1560784474,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "9zgYZVIF98LUK3hq",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "IpkKzfyfvRycCLRf",
    "token_type": "bearer"
}
3phase<--<-- 4 --- AccessToken -->-->
3phase<--<-- 5 --- UserInfo -->-->
3do_user_info_request
kwargs:{'state': 'IpkKzfyfvRycCLRf', 'method': 'GET', 'authn_method': 'bearer_header', 'ctype': 'jwt'}
3request{'body': None}
3request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo
3request_http_args{'headers': {'Authorization': 'Bearer aFlT3IORzjSJB3fV1yZb'}}
4http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/userinfo status_code:200
4OpenIDSchema
{
    "aud": "2pcualcEtWynJ0mqnvtD",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4OpenIDSchema
{
    "aud": "2pcualcEtWynJ0mqnvtD",
    "iss": "https://isamfed.com:30443/test",
    "sub": "testuser"
}
4jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
4jwe header{'alg': 'RSA-OAEP-256', 'enc': 'A128CBC-HS256', 'kid': 'gtH4v3Yr2QqLreBSz0ByQQ8vkf8eFo1KIit3s-3Bbww', 'cty': 'JWT'}
4phase<--<-- 6 --- Done -->-->
4end
4assertionCheckAsymSignedUserInfo
4conditionasym-signed-userinfo: status=OK [Verifies that the UserInfo was signed with a RSA key]
4assertionVerifyResponse
4conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
4conditionDone: status=OK

Result

PASSED