Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-IDToken-C-Signature
Test descriptionDoes the OP sign the ID Token and with what
Timestamp2019-06-17T08:00:45Z

Conditions


verify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
is-idtoken-signed: status=OK [Checks if the id_token is signed]
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": "5rylJ0miv6V2ACd5",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "sDQuY7SOFvWPwBfr"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=sDQuY7SOFvWPwBfr&nonce=5rylJ0miv6V2ACd5&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=sDQuY7SOFvWPwBfr&nonce=5rylJ0miv6V2ACd5&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&client_id=clientID
4http args{}
4responseURL with fragment
4responseid_token=eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJub25jZSI6IjVyeWxKMG1pdjZWMkFDZDUiLCJpYXQiOjE1NjA3NTg0NDQsImlzcyI6Imh0dHBzOi8vaXNhbWZlZC5jb206MzA0NDMvdGVzdCIsInN1YiI6InRlc3R1c2VyI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WK2jgaumcBJG6OVPxBuYUuHqvm7BIvNybzIl09cL7fUZI-wlAPT5kNZEXmnTmjY1u170nHRlfTEDTCMON1ay-g', 'state': 'sDQuY7SOFvWPwBfr', 'code': 'o9xInAeIr8HoHTrWFeH8PqNiQ2s2ZS'}
5AuthorizationResponse
{
    "code": "o9xInAeIr8HoHTrWFeH8PqNiQ2s2ZS",
    "id_token": {
        "aud": [
            "clientID"
        ],
        "c_hash": "btx9n7D0DTGt16AUyg6qUQ",
        "exp": 1560761864,
        "iat": 1560758444,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "5rylJ0miv6V2ACd5",
        "sub": "testuser"
    },
    "state": "sDQuY7SOFvWPwBfr"
}
5phase<--<-- 4 --- AccessToken -->-->
5requestop_args: {'state': 'sDQuY7SOFvWPwBfr'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb'}
5do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61577/authz_cb', 'code': 'o9xInAeIr8HoHTrWFeH8PqNiQ2s2ZS', 'state': 'sDQuY7SOFvWPwBfr', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'sDQuY7SOFvWPwBfr', 'authn_method': 'client_secret_basic'}
5AccessTokenRequest
{
    "code": "o9xInAeIr8HoHTrWFeH8PqNiQ2s2ZS",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61577/authz_cb",
    "state": "sDQuY7SOFvWPwBfr"
}
5request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
5request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
5requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61577%2Fauthz_cb&code=o9xInAeIr8HoHTrWFeH8PqNiQ2s2ZS&state=sDQuY7SOFvWPwBfr
5http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
5response{'access_token': 'Peua5x7ulpSfriDXUvrA', 'refresh_token': 'xq70ETaoHdzqzPJlrQxk1ssSUvRL2nMPxJmf8BnN', 'scope': 'openid', 'id_token': 'eyJraWQiOiJfdWhQZGVHclRXeG9iRmVIMFhiempKcFJyenAzQ0I5bmtueDF5RlYxRy0wIiwiYWxnIjoiUlMyNTYifQ.eyJydF9oYXNoIjoiVWRyWVRIWE5EYVI2VVRLd3pWajQxQSIsIm5vbmNlIjoiNXJ5bEowbWl2NlYyQUNkNSIsImlhdCI6MTU2MDc1ODQ0NSwiaXNzIjoiaHR0cHM6Ly9pc2FtZmVkLmNvbTozMDQ0My90ZXN0IiwiYXRfaGFzaCI6Ikhza1psV1k4aVhrbFdnSGtEaTlLc0EiLCJzdWIiOiJ0ZXN0dXNlciIsImV4cCI6MTU2MDc2MTg2NSwiYXVkIjoiY2xpZW50SUQifQ.yVtZPeeQZTnRQYRzhni-f4ujIlC7njUAJDTnLeYeCSwN38QHvINw-NltROwmCKS8U1W87YZhFQG5jUBmbHTHh6_KJuDxSbllkm3neru7mIXZdg44nOg69MqoKwsb3Xegfs9dP22AGIa6F-U7UB-vZmUcE4l5zjsK6xlgw0nzCip6lhCwsap_SFmaK7oe9PTBjH2DNMKhmxzJY706I-MwkwRoHudxfcyuK2ZlcNb9H5X6SfJm2_RgiTBy0wIs-QPXzDUhZ-iVwtwoYwOe6KJxmZEmCU-97q5NS-xM5IQKAwVZq3KEdRGjkzULofHw5krbcZLdBz8CxRTmQeRV1MwOCQ', 'token_type': 'bearer', 'expires_in': 3599}
5AccessTokenResponse
{
    "access_token": "Peua5x7ulpSfriDXUvrA",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "HskZlWY8iXklWgHkDi9KsA",
        "aud": [
            "clientID"
        ],
        "exp": 1560761865,
        "iat": 1560758445,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "5rylJ0miv6V2ACd5",
        "rt_hash": "UdrYTHXNDaR6UTKwzVj41A",
        "sub": "testuser"
    },
    "refresh_token": "xq70ETaoHdzqzPJlrQxk1ssSUvRL2nMPxJmf8BnN",
    "scope": "openid",
    "token_type": "bearer"
}
5jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
5phase<--<-- 5 --- Done -->-->
5end
5assertionVerifyResponse
5conditionverify-response: status=OK [Checks that the last response was one of a possible set of OpenID Connect Responses]
5assertionIsIDTokenSigned
5conditionis-idtoken-signed: status=OK [Checks if the id_token is signed]
5conditionDone: status=OK

Result

PASSED