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-18T04:21:03Z

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_encryption_alg_values_supported": [
        "A128KW"
    ],
    "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 -->-->
0not expected to doDynamic registration
0phase<--<-- 3 --- AsyncAuthn -->-->
0AuthorizationRequest
{
    "client_id": "clientID",
    "nonce": "lk6jzbW6VzxTYy6Z",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "response_type": "code token",
    "scope": "openid",
    "state": "VIs8qh0mQGzf0kOv"
}
0redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VIs8qh0mQGzf0kOv&nonce=lk6jzbW6VzxTYy6Z&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
0redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=VIs8qh0mQGzf0kOv&nonce=lk6jzbW6VzxTYy6Z&response_type=code+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&client_id=clientID
4http args{}
4responseURL with fragment
4responseaccess_token=wgimvsoDR7UZdYSFKxhs&state=VIs8qh0mQGzf0kOv&expires_in=3599&token_type=bearer&code=HwIFFx0KhuukDNlVuOsyarzsAFV0wF&scope=openid
4response{'access_token': 'wgimvsoDR7UZdYSFKxhs', 'state': 'VIs8qh0mQGzf0kOv', 'expires_in': 3599, 'token_type': 'bearer', 'code': 'HwIFFx0KhuukDNlVuOsyarzsAFV0wF', 'scope': 'openid'}
4AuthorizationResponse
{
    "access_token": "wgimvsoDR7UZdYSFKxhs",
    "code": "HwIFFx0KhuukDNlVuOsyarzsAFV0wF",
    "expires_in": 3599,
    "scope": "openid",
    "state": "VIs8qh0mQGzf0kOv",
    "token_type": "bearer"
}
4phase<--<-- 4 --- AccessToken -->-->
4requestop_args: {'state': 'VIs8qh0mQGzf0kOv'}, req_args: {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb'}
4do_access_token_request
kwargs:{'request_args': {'redirect_uri': 'https://op.certification.openid.net:61771/authz_cb', 'code': 'HwIFFx0KhuukDNlVuOsyarzsAFV0wF', 'state': 'VIs8qh0mQGzf0kOv', 'grant_type': 'authorization_code', 'client_id': 'clientID'}, 'state': 'VIs8qh0mQGzf0kOv', 'authn_method': 'client_secret_basic'}
4AccessTokenRequest
{
    "code": "HwIFFx0KhuukDNlVuOsyarzsAFV0wF",
    "grant_type": "authorization_code",
    "redirect_uri": "https://op.certification.openid.net:61771/authz_cb",
    "state": "VIs8qh0mQGzf0kOv"
}
4request_urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/token
4request_http_args{'headers': {'Authorization': 'Basic Y2xpZW50SUQ6Y2xpZW50U2VjcmV0', 'Content-Type': 'application/x-www-form-urlencoded'}}
4requestgrant_type=authorization_code&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61771%2Fauthz_cb&code=HwIFFx0KhuukDNlVuOsyarzsAFV0wF&state=VIs8qh0mQGzf0kOv
5http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/token status_code:200
5response{'access_token': 'qQ4pRwiub1nIKsjvtKtr', 'refresh_token': '8IBIqAXHhVP4igIV2VY36NYRvVL0Y4lmPPQfy9cE', 'scope': 'openid', 'id_token': 'eyJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiY3R5Ijo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', 'token_type': 'bearer', 'expires_in': 3599}
5AccessTokenResponse
{
    "access_token": "qQ4pRwiub1nIKsjvtKtr",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "pV6O7-H-_os7Rmswxke0vw",
        "aud": [
            "clientID"
        ],
        "exp": 1560835083,
        "iat": 1560831663,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "lk6jzbW6VzxTYy6Z",
        "rt_hash": "CHe4_PIXUjP8-9-i9O07KQ",
        "sub": "testuser"
    },
    "refresh_token": "8IBIqAXHhVP4igIV2VY36NYRvVL0Y4lmPPQfy9cE",
    "scope": "openid",
    "token_type": "bearer"
}
5jws header{'kid': '_uhPdeGrTWxobFeH0XbzjJpRrzp3CB9nknx1yFV1G-0', 'alg': 'RS256'}
5jwe header{'alg': 'A128KW', 'enc': 'A128CBC-HS256', 'cty': 'JWT'}
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