Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-kid
Test descriptionIDToken has kid [Basic, Implicit, Hybrid]
Timestamp2019-06-17T06:38:42Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
verify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
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'], 'grant_types': ['authorization_code'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61164/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61164/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61164/static/jwks_61164.json', 'token_endpoint_auth_method': 'private_key_jwt'}
0RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "response_types": [
        "code"
    ],
    "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": "EtAZDKWOowDWfK7kyz1A",
    "client_id_issued_at": 1560753521,
    "client_secret": "DB2MRl3LIbZjmFflDjRq",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61164/static/jwks_61164.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61164/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61164/authz_cb"
    ],
    "registration_access_token": "JBvt9YwGl7UqdfFTH73S",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=EtAZDKWOowDWfK7kyz1A",
    "response_types": [
        "code"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "EtAZDKWOowDWfK7kyz1A",
    "nonce": "kJ7LlOig2m0DEZCN",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "response_type": "code",
    "scope": "openid",
    "state": "wyfiaT5O9YxFKM5A"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wyfiaT5O9YxFKM5A&nonce=kJ7LlOig2m0DEZCN&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=EtAZDKWOowDWfK7kyz1A
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=wyfiaT5O9YxFKM5A&nonce=kJ7LlOig2m0DEZCN&response_type=code&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61164%2Fauthz_cb&client_id=EtAZDKWOowDWfK7kyz1A
1responseResponse URL with query part
1response{'state': 'wyfiaT5O9YxFKM5A', 'code': 'HlASiphB560G7lLluRmYpw90lpnHdw'}
1response{'state': 'wyfiaT5O9YxFKM5A', 'code': 'HlASiphB560G7lLluRmYpw90lpnHdw'}
1AuthorizationResponse
{
    "code": "HlASiphB560G7lLluRmYpw90lpnHdw",
    "state": "wyfiaT5O9YxFKM5A"
}
1phase<--<-- 4 --- AccessToken -->-->
1requestop_args: {'state': 'wyfiaT5O9YxFKM5A'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb'}
1do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61164/authz_cb', 'code': 'HlASiphB560G7lLluRmYpw90lpnHdw', 'state': 'wyfiaT5O9YxFKM5A', 'grant_type': 'authorization_code', 'client_id': 'EtAZDKWOowDWfK7kyz1A'}, 'state': 'wyfiaT5O9YxFKM5A', 'authn_method': 'private_key_jwt'}
1AccessTokenRequest
{
    "client_assertion": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRXRBWkRLV09vd0RXZks3a3l6MUEiLCAic3ViIjogIkV0QVpES1dPb3dEV2ZLN2t5ejFBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJIOUNZQ2NON1ZvdzNDMDlOc3V5ZTJXSjU2VmN5U3N2byIsICJleHAiOiAxNTYwNzU0MTIxLCAiaWF0IjogMTU2MDc1MzUyMX0.SAr4iKwOT6TNeNFJGvNYH-G5sI9L4VXkkXecBh005I1nDCmAXP1Uq6xz6fnpWHJYJuREL-jr2B_CMV1baKaI4iFLEr4y7Cdc3s4V8SQlJkRK-DFdI_ShFmePIvFR1PZ4kjGVWqn4URp4wTpAvx1cWDTexUZhKQGGDnDL4b6f_3EeO_Es2ZMmIkEp4slh90q5xePoK9XIFbWkhp4Tt8opYYZeF3yCI3RHKuI_RyiH8u2zeCDQHrFWUQZ4imZvL_7SaXfenJFBETlShsdUA5FY3fjAZU9sh8Hy1LVnnSaINdycD768GN0KfqC65rtHhxpm0K-1_npPSBFHl1kqHyFLDA",
    "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
    "code": "HlASiphB560G7lLluRmYpw90lpnHdw",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61164/authz_cb",
    "state": "wyfiaT5O9YxFKM5A"
}
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%3A61164%2Fauthz_cb&code=HlASiphB560G7lLluRmYpw90lpnHdw&state=wyfiaT5O9YxFKM5A&client_assertion=eyJhbGciOiJSUzI1NiIsImtpZCI6Ind0MjVPZ3lSX256RzNPb1E3ZGFhMnJMNi1nTW5GZGZSekJqaFVWUHU4UlEifQ.eyJpc3MiOiAiRXRBWkRLV09vd0RXZks3a3l6MUEiLCAic3ViIjogIkV0QVpES1dPb3dEV2ZLN2t5ejFBIiwgImF1ZCI6IFsiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My9tZ2Evc3BzL29hdXRoL29hdXRoMjAvdG9rZW4iXSwgImp0aSI6ICJIOUNZQ2NON1ZvdzNDMDlOc3V5ZTJXSjU2VmN5U3N2byIsICJleHAiOiAxNTYwNzU0MTIxLCAiaWF0IjogMTU2MDc1MzUyMX0.SAr4iKwOT6TNeNFJGvNYH-G5sI9L4VXkkXecBh005I1nDCmAXP1Uq6xz6fnpWHJYJuREL-jr2B_CMV1baKaI4iFLEr4y7Cdc3s4V8SQlJkRK-DFdI_ShFmePIvFR1PZ4kjGVWqn4URp4wTpAvx1cWDTexUZhKQGGDnDL4b6f_3EeO_Es2ZMmIkEp4slh90q5xePoK9XIFbWkhp4Tt8opYYZeF3yCI3RHKuI_RyiH8u2zeCDQHrFWUQZ4imZvL_7SaXfenJFBETlShsdUA5FY3fjAZU9sh8Hy1LVnnSaINdycD768GN0KfqC65rtHhxpm0K-1_npPSBFHl1kqHyFLDA&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': 'uZ1AYfUYzoZuFc5TFAEZ', 'refresh_token': '3uQvlod5D6IgbPpOeWoOotWdcyjWQI6NamwZqJ0Z', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiS2R3MFdhQVlPQ3lCMHRxbmI5ZDd3USIsIm5vbmNlIjoia0o3TGxPaWcybTBERVpDTiIsImlhdCI6MTU2MDc1MzUyMiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6ImxuM2Nrbm1YZmNXVzUxUzNTN0dna3ciLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc1Njk0MiwiYXVkIjoiRXRBWkRLV09vd0RXZks3a3l6MUEifQ.rknfEff9_H3oKtfQyJd-Cu3iVB09pifTYIrvcDwGNue_2PIH88H6NAJxw5AUfkJaWok40g6aFx6lRaRDi_KClxAPAHYvtwYfpmftOWqIUwWmYfQtwTYQDogaBuvJN9eHxGiHajSulCbZtpPmW0oZvaAwsL5klZfg7C9wB5pWqg6dfcvxuLcHoXGt0AazL9Poy2qE0jZz7DJ_m_jKungq10qIyP8Jzh1ZRBTDvZ03jCq6ISH1o15F717UMmmHDWPsemJ25uQfTu-MXbzLOGD6lcEHlpWDxtyiKNc13GGkrHRbfhB7pUgV8DLJL3wgpxG_XYCU-EW7NzoG2zvMONLa2A', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "uZ1AYfUYzoZuFc5TFAEZ",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "ln3cknmXfcWW51S3S7Ggkw",
        "aud": [
            "EtAZDKWOowDWfK7kyz1A"
        ],
        "exp": 1560756942,
        "iat": 1560753522,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "kJ7LlOig2m0DEZCN",
        "rt_hash": "Kdw0WaAYOCyB0tqnb9d7wQ",
        "sub": "testuser"
    },
    "refresh_token": "3uQvlod5D6IgbPpOeWoOotWdcyjWQI6NamwZqJ0Z",
    "scope": "openid",
    "token_type": "bearer"
}
2jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
2phase<--<-- 5 --- Done -->-->
2end
2assertionVerifyResponse
2conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
2assertionVerifySignedIdTokenHasKID
2conditionverify-signed-idtoken-has-kid: status=OK [Verifies that the header of a signed IDToken includes a kid claim.]
2conditionDone: status=OK

Result

PASSED