Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Response-code+id_token+token
Test descriptionRequest with response_type=code id_token token
Timestamp2019-06-17T15:03:07Z

Conditions


verify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
Done: status=OK

Trace Output

0phase<--<-- 0 --- Webfinger -->-->
0not expected to doWebFinger
0phase<--<-- 1 --- Discovery -->-->
0provider_config
kwargs:{'issuer': 'https://isamfed.com:30443/test'}
1http response
url:https://isamfed.com:30443/test/.well-known/openid-configuration status_code:200
1ProviderConfigurationResponse
{
    "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"
}
1phase<--<-- 2 --- Registration -->-->
1register
kwargs:{'response_types': ['code id_token token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61737/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61737/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61737/static/jwks_61737.json', 'token_endpoint_auth_method': 'private_key_jwt'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb"
    ],
    "response_types": [
        "code 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": "dUP6JOdakfRQxQvRUB4H",
    "client_id_issued_at": 1560783785,
    "client_secret": "ecoEm3REDCT8jdd849bJ",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61737/static/jwks_61737.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61737/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61737/authz_cb"
    ],
    "registration_access_token": "XTUV7wO0J0U4f30aQqnp",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=dUP6JOdakfRQxQvRUB4H",
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt"
}
1phase<--<-- 3 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "dUP6JOdakfRQxQvRUB4H",
    "nonce": "6AvHrVbydVTBwvcb",
    "redirect_uri": "https://op.certification.openid.net:61737/authz_cb",
    "response_type": "code id_token token",
    "scope": "openid",
    "state": "oRtbUX8AMDgd0eo1"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=oRtbUX8AMDgd0eo1&nonce=6AvHrVbydVTBwvcb&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb&client_id=dUP6JOdakfRQxQvRUB4H
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=oRtbUX8AMDgd0eo1&nonce=6AvHrVbydVTBwvcb&response_type=code+id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61737%2Fauthz_cb&client_id=dUP6JOdakfRQxQvRUB4H
2http args{}
2responseURL with fragment
2responseaccess_token=CgZ3fBWiGEjAz1wRJhyi&state=oRtbUX8AMDgd0eo1&expires_in=3599&token_type=bearer&code=RRTPHN0kmnIkPcU6XPQEwUepLT5xyl&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjo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qCvChhkYwN0pUdF8Hf-TamU2-y5cYygvfSPcUpzp1w6bjyVdiqZuj1OyuxC9awAQB7KWbhvkk1oDgDePt0fhQlUDLENLvEyci-dcEsCjISDWYjJ5eUV_1S3ygLz2XUWx7Oenq8KzUAVOm13_ClPBNn6I3PyclGPqt1Hv3JAMNPu5wAq1UJuZt7FPL8CX6YVRs2lHiibdairTuBZlyewmrvjkI-bcAASpBFP-SfatuAVswfXCGFkzlJ7bhCEiEFYs0B0DquhEgHBZS0M40NIJiA0LtcyKtoxN9O4CifqWjQeIArCsk_kCFoIhvi6XCcuMbkkQzgbNBiXpZk5y9StxuR3vbry61TTME7sKMfgXLSHQpoEeatbhln1BvdbKu482r7yIK6j_PvedxfePspFJiNYYl8bVxcwPKfvFhJwIBtvmn9Eo9WOAmcXH5nC2Xyb6iPMlJFGOhb86YzNhMF4jy6msBSA9nSD2ZssFFSUVoPMafU-WztWWoY5blCbAQx3RM09KRTdM9bXXCsbESR9JCg5cMHqzyxouBB4NmlTp901juG5swmNfw1_JqsokheMTQUdnRuZuCqQWj9YVyraStusFz77w1zYoNmCZZe7xXed3yLzxLQZ2qGPgeqMcKvDHl_UQY9RRCuKadOevT2hsMIpBOMKw3U_ld6tClRBjxVnomggt2i5u39jbKwP9_wsBZt46VZq8CmAjA9NjJTtkRqFksaVdKbCe5cfbttM3E7IwhOfxCFPRCo50UBN4nV8vJ7Rq4WiSvBHTDixByw46FTUn8edYAVLCKPc85JbaxaaDrJkRk9EQ4XDz2fv-wbKkEE3qE8y4WbZWhVk1ii3l4NKJqh5H_HRaFCbMjMKo2SRd1AzeaTBD6x6St812aJkOXh5FAf-qhKZPJ4S4Pu6KpnQGpwZOc_8l3QGQ.pYXxuFpH5hLVMu841_9WxQ'}
3AuthorizationResponse
{
    "access_token": "CgZ3fBWiGEjAz1wRJhyi",
    "code": "RRTPHN0kmnIkPcU6XPQEwUepLT5xyl",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "cz_cS4OdpJri8L9RnVlTsA",
        "aud": [
            "dUP6JOdakfRQxQvRUB4H"
        ],
        "c_hash": "RxRlkfVt1EPAoeveC0Pwjw",
        "exp": 1560787206,
        "iat": 1560783786,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "6AvHrVbydVTBwvcb",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "oRtbUX8AMDgd0eo1",
    "token_type": "bearer"
}
3phase<--<-- 4 --- Done -->-->
3end
3assertionVerifyAuthnResponse
3conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
3conditionDone: status=OK

Result

PASSED