Test Info

Issuerhttps://isamfed.com:30443/test
Profile[]
Test IDOP-Registration-tos_uri
Test descriptionRegistration with tos_uri
Timestamp2019-06-17T15:17:54Z

Conditions


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

Trace Output

0phase<--<-- 0 --- Note -->-->
1phase<--<-- 1 --- Webfinger -->-->
1not expected to doWebFinger
1phase<--<-- 2 --- Discovery -->-->
1provider_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<--<-- 3 --- Registration -->-->
1register
kwargs:{'response_types': ['code id_token'], 'grant_types': ['authorization_code', 'implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61716/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61716/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61716/static/jwks_61716.json', 'token_endpoint_auth_method': 'private_key_jwt', 'tos_uri': 'https://op.certification.openid.net:61716/static/tos.html'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61716/static/jwks_61716.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61716/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61716/authz_cb"
    ],
    "response_types": [
        "code id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "tos_uri": "https://op.certification.openid.net:61716/static/tos.html"
}
1http response
url:https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition status_code:200
1RegistrationResponse
{
    "application_type": "web",
    "client_id": "eRIuaG8waxWLnzajDRon",
    "client_id_issued_at": 1560784672,
    "client_secret": "IAairBxLrYNkZJJ50sOB",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit",
        "authorization_code"
    ],
    "jwks_uri": "https://op.certification.openid.net:61716/static/jwks_61716.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61716/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61716/authz_cb"
    ],
    "registration_access_token": "xu2iQUJbm5r4xNsQmTO9",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=eRIuaG8waxWLnzajDRon",
    "response_types": [
        "code",
        "id_token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "tos_uri": "https://op.certification.openid.net:61716/static/tos.html"
}
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "eRIuaG8waxWLnzajDRon",
    "nonce": "GbKFcrgPTZc74rOL",
    "redirect_uri": "https://op.certification.openid.net:61716/authz_cb",
    "response_type": "code id_token",
    "scope": "openid",
    "state": "fapleFD4HVfELM2i"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fapleFD4HVfELM2i&nonce=GbKFcrgPTZc74rOL&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61716%2Fauthz_cb&client_id=eRIuaG8waxWLnzajDRon
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=fapleFD4HVfELM2i&nonce=GbKFcrgPTZc74rOL&response_type=code+id_token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61716%2Fauthz_cb&client_id=eRIuaG8waxWLnzajDRon
2http args{}
3responseURL with fragment
3responseid_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoiZ3RINHYzWXIyUXFMcm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iHOb-bUqLU3YpdoBCnjd5D3Y2Ywrf3fFOYwwuTQMO24CWCdPoyaVTcHixjBJA2tTOPMwmRixZI4tNsbSieT7jyf_VGU4UFecL7bOK_aK_iVouXc4s8S3sl3xdlDN-uYAksmTxL3SAtp48oKZkx3RKf-UetD3XVan-K6J_5d2FsnkzO4FmVXhcHfqE9jEZAsKYc4SbzovbqFK8o56Jgvr2qNiqKKffDkMGjK5xEEblHAMQiFgOCOKdOwQsaQGNDULUqe1vd9B2-Mow1sDcpn18Ep0gWVQQp9EV3TmOBJc4lEImsnZznhhOQbmJXyc6D4ZjPa4CSNuykiPRX_Qprug2QPGyT4eJW7YU-zefujQgWEsM5jTvncwCtfNqG82EavUyQljs8CeGHFChJ51R0fEM45RTQgtpNh7DRRdrxEpcRcCtja6iFV4n6A8Er07lmdbQVgfmVZSw6N4Kf4B806sY0etG-xIXI6CnRubC0iedG0Wp0PANN5qH5mcYT1EmTFercEaSIc--8wZtDI8heDA9OVt1m6YcY3nyZWeHd8ieoUNRa7-RmBG1xtxtyQFwihdK55SFQDUaMjQa8WUVpxcF59nzAUuI__6yuzESfbW1kp9w7vD_l-ayR_Tuexiv1oPOnvP_S1lz9mqAEgbao83KSztVkoiE1eh5nBX5x1-P-s5fl5SmOXkoHjlbcu2yoxCKjmIy0K1BBc6wSVtUG7obtvn9_9zID5oRw.f6rqf5EUBcohcisW8zbI_g', 'state': 'fapleFD4HVfELM2i', 'code': 'X3m38BS7vMBj7LdwsluFC2XMR7GFJe'}
3AuthorizationResponse
{
    "code": "X3m38BS7vMBj7LdwsluFC2XMR7GFJe",
    "id_token": {
        "aud": [
            "eRIuaG8waxWLnzajDRon"
        ],
        "c_hash": "aU8AquZDh_B84IndYA5w1g",
        "exp": 1560788093,
        "iat": 1560784673,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "GbKFcrgPTZc74rOL",
        "sub": "testuser"
    },
    "state": "fapleFD4HVfELM2i"
}
3phase<--<-- 5 --- Done -->-->
3end
3assertionVerifyAuthnResponse
3conditionverify-authn-response: status=OK [Checks that the last response was a JSON encoded authentication message]
3conditionDone: status=OK

Result

PASSED