Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-RS256
Test descriptionAsymmetric ID Token signature with RS256
Timestamp2019-06-17T07:06:51Z

Conditions


verify-idtoken-is-signed: status=OK [Verifies that an ID Token is signed]
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 token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61367/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61367/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61367/static/jwks_61367.json', 'token_endpoint_auth_method': 'private_key_jwt', 'id_token_signed_response_alg': 'RS256'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "id_token_signed_response_alg": "RS256",
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "response_types": [
        "code id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
0RegistrationResponse
{
    "application_type": "web",
    "client_id": "OncLC7N2uppJSNhEW3Tb",
    "client_id_issued_at": 1560755209,
    "client_secret": "5m5xXQAdD503mpYUjcbX",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "id_token_signed_response_alg": "RS256",
    "jwks_uri": "https://op.certification.openid.net:61367/static/jwks_61367.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61367/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61367/authz_cb"
    ],
    "registration_access_token": "cF3Lkfc5OxZ9hFyEc2bN",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=OncLC7N2uppJSNhEW3Tb",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "OncLC7N2uppJSNhEW3Tb",
    "nonce": "r6sCgf8N4ASa3zhP",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "Hh0oTzEErwstQC2J"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Hh0oTzEErwstQC2J&nonce=r6sCgf8N4ASa3zhP&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=OncLC7N2uppJSNhEW3Tb
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=Hh0oTzEErwstQC2J&nonce=r6sCgf8N4ASa3zhP&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&client_id=OncLC7N2uppJSNhEW3Tb
1http args{}
1responseURL with fragment
1responseaccess_token=wU1SPWC2KSovVzKEUerL&state=Hh0oTzEErwstQC2J&expires_in=3599&token_type=bearer&code=NpvvGzgVZhg2Xu2xiodZlOMK5axpku&scope=openid&id_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InI2c0NnZjhONEFTYTN6aFAiLCJpYXQiOjE1NjA3NTUyMTAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJYNk9fT0x0MTd1MjNRd1ZsQXZwd1BnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MzAsImNfaGFzaCI6IlVsaWN1NDRSaVV1M1JlVVdwR0k0c0EiLCJhdWQiOiJPbmNMQzdOMnVwcEpTTmhFVzNUYiJ9.XE0NMiGOD37zxwRJrrqEne8VhgFoifXlEFCLa9WrOcKJFB7brQqKtyVQK7AqpU8yuaYgvvlyhtM-k3jqSPtLsaBcaGjAFrFLY1wCfRJRdUX7BWWMKcRN-AD4fykAOWKyPj16L5DimdigwsXjYToQ5ZNdAEGl8m-dUhjYY2Lwkr2EoITWU3oyRJI5MCNfZhv-MXlgHid9df5y-pqS-T84i5e_AMP0n3wkXDhwROWHfIMhMiryveTynXNWH5iseJsUfOqI0639iijxCX93niXvv995aLe6z_kOasif6p-WV5dr5q19H0rfRAZVQh9DXjeD56vW9OmuXlTF_XQ4zznITw
1response{'access_token': 'wU1SPWC2KSovVzKEUerL', 'state': 'Hh0oTzEErwstQC2J', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'NpvvGzgVZhg2Xu2xiodZlOMK5axpku', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6InI2c0NnZjhONEFTYTN6aFAiLCJpYXQiOjE1NjA3NTUyMTAsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsImF0X2hhc2giOiJYNk9fT0x0MTd1MjNRd1ZsQXZwd1BnIiwic3ViIjoidGVzdHVzZXIiLCJleHAiOjE1NjA3NTg2MzAsImNfaGFzaCI6IlVsaWN1NDRSaVV1M1JlVVdwR0k0c0EiLCJhdWQiOiJPbmNMQzdOMnVwcEpTTmhFVzNUYiJ9.XE0NMiGOD37zxwRJrrqEne8VhgFoifXlEFCLa9WrOcKJFB7brQqKtyVQK7AqpU8yuaYgvvlyhtM-k3jqSPtLsaBcaGjAFrFLY1wCfRJRdUX7BWWMKcRN-AD4fykAOWKyPj16L5DimdigwsXjYToQ5ZNdAEGl8m-dUhjYY2Lwkr2EoITWU3oyRJI5MCNfZhv-MXlgHid9df5y-pqS-T84i5e_AMP0n3wkXDhwROWHfIMhMiryveTynXNWH5iseJsUfOqI0639iijxCX93niXvv995aLe6z_kOasif6p-WV5dr5q19H0rfRAZVQh9DXjeD56vW9OmuXlTF_XQ4zznITw'}
1AuthorizationResponse
{
    "access_token": "wU1SPWC2KSovVzKEUerL",
    "code": "NpvvGzgVZhg2Xu2xiodZlOMK5axpku",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "X6O_OLt17u23QwVlAvpwPg",
        "aud": [
            "OncLC7N2uppJSNhEW3Tb"
        ],
        "c_hash": "Ulicu44RiUu3ReUWpGI4sA",
        "exp": 1560758630,
        "iat": 1560755210,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "r6sCgf8N4ASa3zhP",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "Hh0oTzEErwstQC2J",
    "token_type": "bearer"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'Hh0oTzEErwstQC2J'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61367/authz_cb', 'code': 'NpvvGzgVZhg2Xu2xiodZlOMK5axpku', 'state': 'Hh0oTzEErwstQC2J', 'grant_type': 'authorization_code', 'client_id': 'OncLC7N2uppJSNhEW3Tb'}, 'state': 'Hh0oTzEErwstQC2J', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiT25jTEM3TjJ1cHBKU05oRVczVGIiLCAic3ViIjogIk9uY0xDN04ydXBwSlNOaEVXM1RiIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJwQjV5N1lGZjE2aVY2c3ZDVXFxWmM5NzUyTG9KQVFJSiIsICJleHAiOiAxNTYwNzU1ODEwLCAiaWF0IjogMTU2MDc1NTIxMH0.fwSRBVVA6QGpx6qynFC-Cem18PT_kiJgWzKys53I55abEZKYeu9ZaoWcjEcKpgTFqCnO6Y53rYN7GCGcsEi_-4fZlTqVEfYLWtMIvU4JRdvnglrnHkQloetZBSjWzsX3Zg0qOfCSG4QPxC0DvrxD1dMzT8wnGzJe_bwZulHL3eFR6UWX26Mn2PB7yXQkfNDNbkvnXcsI-KeyOQZxRQHJgwZpxMtcfUWslLT9VsWgdrlV4wHwKmpC99DoNNN-NNdw59maywJIkAggKXWIqV5bN6WyyGg6r8pdC1qCYI2Qgb40LQu7sXgr182KuZckT1AxWC0ImGjBXexaskjPjmQO6g",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "NpvvGzgVZhg2Xu2xiodZlOMK5axpku",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61367/authz_cb",
    "state": "Hh0oTzEErwstQC2J"
}
1request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
1request_http_args{'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}
1requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61367%2Fauthz_cb&code=NpvvGzgVZhg2Xu2xiodZlOMK5axpku&state=Hh0oTzEErwstQC2J&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiT25jTEM3TjJ1cHBKU05oRVczVGIiLCAic3ViIjogIk9uY0xDN04ydXBwSlNOaEVXM1RiIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJwQjV5N1lGZjE2aVY2c3ZDVXFxWmM5NzUyTG9KQVFJSiIsICJleHAiOiAxNTYwNzU1ODEwLCAiaWF0IjogMTU2MDc1NTIxMH0.fwSRBVVA6QGpx6qynFC-Cem18PT_kiJgWzKys53I55abEZKYeu9ZaoWcjEcKpgTFqCnO6Y53rYN7GCGcsEi_-4fZlTqVEfYLWtMIvU4JRdvnglrnHkQloetZBSjWzsX3Zg0qOfCSG4QPxC0DvrxD1dMzT8wnGzJe_bwZulHL3eFR6UWX26Mn2PB7yXQkfNDNbkvnXcsI-KeyOQZxRQHJgwZpxMtcfUWslLT9VsWgdrlV4wHwKmpC99DoNNN-NNdw59maywJIkAggKXWIqV5bN6WyyGg6r8pdC1qCYI2Qgb40LQu7sXgr182KuZckT1AxWC0ImGjBXexaskjPjmQO6g&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'jYbMh6a9owh4LKKfIbCP', 'refresh_token': 'ObHKtiZaJUrxEcXHYPhwpuIQBoj7jXoAjMX01hpH', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiTGxEdnhLaWg2Y0dma3FfU3lwUURyZyIsIm5vbmNlIjoicjZzQ2dmOE40QVNhM3poUCIsImlhdCI6MTU2MDc1NTIxMSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Im5yVWRsLURLaHNTOThtak1ockFtYWciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1ODYzMSwiYXVkIjoiT25jTEM3TjJ1cHBKU05oRVczVGIifQ.uRgOUzkoR_Kc9Umy405BoxRT-N_mSrOnfqos08_Jdwyy8eoL5yJhXkAbQJl1gEsr9tiCLk7DBMwMz0nFxVp0qdGvBJ1WTpx8ZFvTXbbXMQ4fho__78JPQj5Vg_oY73Y95oBAgQAevj5oA2O53uXEm1rI_s2Z_cyHvEiUyyhmKpT-t8eI7-k5wXfC9YnP-1lDLk-67xZIJRY27bCIAHp6rKO13Zp1o_G5pK2RhVztXrPb5YI0jVceVxdDeGn2Pf_jPslRh45GURLdaAD9U7xCiSx_DO6A0KXvoIhI0JQBY2rVPBAZwZZB5ZL1GDZDLmvohrekfUkDte-9vcX2dsA6CQ', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "jYbMh6a9owh4LKKfIbCP",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "nrUdl-DKhsS98mjMhrAmag",
        "aud": [
            "OncLC7N2uppJSNhEW3Tb"
        ],
        "exp": 1560758631,
        "iat": 1560755211,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "r6sCgf8N4ASa3zhP",
        "rt_hash": "LlDvxKih6cGfkq_SypQDrg",
        "sub": "testuser"
    },
    "refresh_token": "ObHKtiZaJUrxEcXHYPhwpuIQBoj7jXoAjMX01hpH",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifySignedIdToken
2conditionverify-idtoken-is-signed: status=OK [Verifies that an ID Token is signed]
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2conditionDone: status=OK

Result

PASSED