Test Info

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

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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "Brjb3M4oBeWWgt7U",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "1jYCGqLoHa4fHr8Q"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1jYCGqLoHa4fHr8Q&nonce=Brjb3M4oBeWWgt7U&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=1jYCGqLoHa4fHr8Q&nonce=Brjb3M4oBeWWgt7U&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
1http args{}
2responseURL with fragment
2responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IkJyamIzTTRvQmVXV2d0N1UiLCJpYXQiOjE1NjA3NTg0NTEsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMv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RCfOztn4-InIqWjh70R_Ift6iOFeZ1n2RMqZaHF9TQe0RZjx-czVNl0DzPWV_ET-oHShZmz9ukuWNqSPhp6XLUbuodipoY9rMmIAA', 'state': '1jYCGqLoHa4fHr8Q', 'code': 'KrHvQLKO5NOcHpTAlWYdoXdUZ6nx3U'}
2AuthorizationResponse
{
    "code": "KrHvQLKO5NOcHpTAlWYdoXdUZ6nx3U",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "IUb-bOOe3lb0SdF88frrlg",
        "exp": 1560761871,
        "iat": 1560758451,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Brjb3M4oBeWWgt7U",
        "sub": "testuser"
    },
    "state": "1jYCGqLoHa4fHr8Q"
}
2phase<--<-- 4 --- AccessToken -->-->
2requestop_args: {'state': '1jYCGqLoHa4fHr8Q'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'}
2do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': 'KrHvQLKO5NOcHpTAlWYdoXdUZ6nx3U', 'state': '1jYCGqLoHa4fHr8Q', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': '1jYCGqLoHa4fHr8Q', 'authn_method': 'client_secret_basic'}
2AccessTokenRequest
{
    "code": "KrHvQLKO5NOcHpTAlWYdoXdUZ6nx3U",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "state": "1jYCGqLoHa4fHr8Q"
}
2request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
2request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
2requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=KrHvQLKO5NOcHpTAlWYdoXdUZ6nx3U&state=1jYCGqLoHa4fHr8Q
2http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
2response{'access_token': 'GfjnXheQfpL3TBxaoEmf', 'refresh_token': 'FIHnqj83cfv2MrLxCXcEWih4nnA3bR4lm0hLBnAr', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiR2Z5NEN4VG1HeEFBTFpPanJtd0t2QSIsIm5vbmNlIjoiQnJqYjNNNG9CZVdXZ3Q3VSIsImlhdCI6MTU2MDc1ODQ1MiwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6InVEOGRiUGxnT0h2OTVIb0pTZmlRQ0EiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg3MiwiYXVkIjoiY2xpZW50SUQifQ.h1wIDiI7XbNc-7gPH3LMJYQ5OnEZJeQmeFaq3GvypAfMCOyGeLTWpRoD7J01h3OHWZ-HZes0zQlIVwin91LIPSyaJbQOVD6xrhxxSzMZdBQoyByFgbJc_8NpHUwoa3yG18JRI_ajXBhQeccuF8jgw3hWnJlosVlida9GuUWBNpY5s8Yamtreg2pWXXsViSCPe4dUCxRs3l1EkWRm_-CME0fs4r2CjvfRwM1IbOluh6dS6l2PWESop3bVbwPj5jQiJbIlEnDAgXW-XDZHXMvfO993Pn7jR80VU_05FkY1j5C60mLPquw7aP774KFqofjeg9Ilw-FYp4w5vdWNWNocXg', 'token_type': 'bearer', 'expires_in': 3599}
2AccessTokenResponse
{
    "access_token": "GfjnXheQfpL3TBxaoEmf",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "uD8dbPlgOHv95HoJSfiQCA",
        "aud": [
            "clientID"
        ],
        "exp": 1560761872,
        "iat": 1560758452,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "Brjb3M4oBeWWgt7U",
        "rt_hash": "Gfy4CxTmGxAALZOjrmwKvA",
        "sub": "testuser"
    },
    "refresh_token": "FIHnqj83cfv2MrLxCXcEWih4nnA3bR4lm0hLBnAr",
    "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