Test Info

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

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_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"
}
0phase<--<-- 2 --- Registration -->-->
0register
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'}
0RegistrationRequest
{
    "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"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "QyNSvLTisTP5tq4vltvr",
    "client_id_issued_at": 1560784457,
    "client_secret": "zpbJouG00WK8kluWoPIR",
    "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": "ZkFWOtLJaXhWU8XDD2rM",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=QyNSvLTisTP5tq4vltvr",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "QyNSvLTisTP5tq4vltvr",
    "nonce": "4gvueskgiUIVH0Lb",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "EpGu28SDxjYCTONg"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=EpGu28SDxjYCTONg&nonce=4gvueskgiUIVH0Lb&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=QyNSvLTisTP5tq4vltvr
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=EpGu28SDxjYCTONg&nonce=4gvueskgiUIVH0Lb&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=QyNSvLTisTP5tq4vltvr
2http args{}
2responseURL with fragment
2responseaccess_token=3CWBEw6aYcXZXOQ64zpw&state=EpGu28SDxjYCTONg&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcmVCU3owQnl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7wlCOwid1KgUV_jsCfKzYZxW8LOYHleSfmlm9m-jex3IoFC26EeOMMvJA9-UPLzzJyGgzSiXn_lomZ6_wPZs8unep2TTs5T20tRUd52UYCQ7X_RqXA18ii0FZqOC2ln2e4p-OLxellVtv3xltP9fDSXMjfi5QqPQqG0-eBoM6SFDD354GOQFaNrrnMzpVA3uf2g96vZRF6QPeFtX3YtPA0VX4d4N99GPZ3U69XKm28rvOJV_ParTzKoJxaLmKEfMgjORiAr7qtcBNdBhx2SQn-mC4tsLJM3EPXHhWZfcmqYwDZVjz7vepHrc0zKXYmFIoUfvOXLM2G_OE1IbXtjE2xIdo3-vgoDvV3Az5N0lwGcG29SveKyN4tI1-_HeRLSdDT64-Mdk_DJam0UjweDEsZQXG6mQUkTAxU0CtjtjY-134yGgAEhd-vxDr_5seEuurYb5VI_u23Ij0Mh_IIfI1VrEif3ci3wt8wXc9ttJvFoG9MnzacJKlUl3CZNisdraJ6UKpp2O6hyjRcSWX9vlVJXliCfZfhzGCm97uLMoEdxYu0h9BtKhICDsGDtVZ1h6flxflppPOh8W81bKE2ZzcbpCMfpx-v3zbyrJwUf7QSIEboRHMbcnPbUVR0eXwtpJLnK2VU7iVlSIMTJfq7iS55wRMWoIcKNPa-6Hv0RRAlGp4lxNE2XyzOF_tQwNPfAb70bVt3qaqoXPFyV5DUfcYnL8Y5FiZn5A.XG9cVaJlbzLlDWhanRBoXg'}
2AuthorizationResponse
{
    "access_token": "3CWBEw6aYcXZXOQ64zpw",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "RuAzV9XpgzKwxvqdsMUK6A",
        "aud": [
            "QyNSvLTisTP5tq4vltvr"
        ],
        "exp": 1560787877,
        "iat": 1560784457,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "4gvueskgiUIVH0Lb",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "EpGu28SDxjYCTONg",
    "token_type": "bearer"
}
2phase<--<-- 4 --- AccessToken -->-->
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