Test Info

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

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': ['id_token token'], 'grant_types': ['implicit'], 'application_name': 'OIC test tool', 'application_type': 'web', 'redirect_uris': ['https://op.certification.openid.net:61585/authz_cb'], 'contacts': ['roland@example.com'], 'post_logout_redirect_uris': ['https://op.certification.openid.net:61585/logout'], 'url': 'https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition', 'jwks_uri': 'https://op.certification.openid.net:61585/static/jwks_61585.json', 'token_endpoint_auth_method': 'private_key_jwt', 'tos_uri': 'https://op.certification.openid.net:61585/static/tos.html'}
1RegistrationRequest
{
    "application_type": "web",
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "response_types": [
        "id_token token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "tos_uri": "https://op.certification.openid.net:61585/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": "cq0yuVHNYdatws7QQxSQ",
    "client_id_issued_at": 1560784442,
    "client_secret": "bu7l7IcMlwVaXjpaPwZp",
    "client_secret_expires_at": 0,
    "contacts": [
        "roland@example.com"
    ],
    "grant_types": [
        "implicit"
    ],
    "jwks_uri": "https://op.certification.openid.net:61585/static/jwks_61585.json",
    "post_logout_redirect_uris": [
        "https://op.certification.openid.net:61585/logout"
    ],
    "redirect_uris": [
        "https://op.certification.openid.net:61585/authz_cb"
    ],
    "registration_access_token": "Em2rljTHyvK1KVRseDKi",
    "registration_client_uri": "https://isamfed.com:30443/mga/sps/oauth/oauth20/register/OIDCDefinition?client_id=cq0yuVHNYdatws7QQxSQ",
    "response_types": [
        "id_token",
        "token"
    ],
    "token_endpoint_auth_method": "private_key_jwt",
    "tos_uri": "https://op.certification.openid.net:61585/static/tos.html"
}
1phase<--<-- 4 --- AsyncAuthn -->-->
1AuthorizationRequest
{
    "client_id": "cq0yuVHNYdatws7QQxSQ",
    "nonce": "FF6efWFQPySyI0BX",
    "redirect_uri": "https://op.certification.openid.net:61585/authz_cb",
    "response_type": "id_token token",
    "scope": "openid",
    "state": "qI7gjrGtEe27ctb3"
}
1redirect urlhttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=qI7gjrGtEe27ctb3&nonce=FF6efWFQPySyI0BX&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=cq0yuVHNYdatws7QQxSQ
1redirecthttps://isamfed.com:30443/mga/sps/oauth/oauth20/authorize?state=qI7gjrGtEe27ctb3&nonce=FF6efWFQPySyI0BX&response_type=id_token+token&scope=openid&redirect_uri=https%3A%2F%2Fop.certification.openid.net%3A61585%2Fauthz_cb&client_id=cq0yuVHNYdatws7QQxSQ
2http args{}
3responseURL with fragment
3responseaccess_token=cOSOE91buJQCluJMpLM4&state=qI7gjrGtEe27ctb3&expires_in=3599&token_type=bearer&scope=openid&id_token=eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMi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CvLrVcRm28m9q5FxwIDRZtuDHVXNlAx1V-2rnKNtwiqMJVShbO3Dgth82HxmX8Q4rWgtmSHQqAbijZ74iW7hyCIX5uWd_oivii4OLktpN1jqDjD1yBgqONwOK-yXOGKlz1DXxZuSrVyNPWyDR223RiK-Y9deV5wAppjNMmpk7dnhzEoFxWywUBgVzAVlV2HpSR_X77MOfvaJ6falrIAAcrabvo2ADdw6TIhiYjqIWmkKnbkNTPD3Jg84fTflA6064j_VwEdjCOOyHY9Zjlpio5RO1cWEYMAjg3ZGLOk7a28SXHAF4MklEehCoUl4M1VeUT4wobUmHpskpPCffWZc5kB0Q5qALQC8oBVHZigmIPhmwlhob6b8O747Yz8Vt7r8mtRT93J-Iki3Qzwh8t4xh1FII7rk1h6gHvWzt5hEmDsUJSVloJ8hNIyeEJcgGBtvT4RCgWvBuJYyQJhLndzNqFliTbN1yOMED8AunmBLIaYHOg3vsgvd2y9twTG5y4Ft-sZ7XVuc668590eQe12V5w7qfvA_n7wtlTMm2fhoVXtly83GYi4XLEgBs9zmQrvtuF5naST8L7wzQ8rk43wfIN5kOqSpDLyinX4aXcYYPwDJshoUKuD-DbNqdREsZ3ynP8WCbYAVrbExenjSJBk29fq9_vAM6UYbQsf0KOXfPouS0s2cpnbszcFJTVF6tUlm6YK7ejxf_fqItbJLt7eUsq25c_aiLDjDATHkQHKssJ7Z7S2uuQmWdVW4I1SoZtpkSbv-ZjzaLLmb3JBkPz6AzpdyqEXoH-jh4eX8RfbLU_BdNC0jRA.nnFDgVQNr8b0asAFP0laNQ'}
3AuthorizationResponse
{
    "access_token": "cOSOE91buJQCluJMpLM4",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "QF6RBTFsTK8txVEP6vYePQ",
        "aud": [
            "cq0yuVHNYdatws7QQxSQ"
        ],
        "exp": 1560787863,
        "iat": 1560784443,
        "iss": "https://isamfed.com:30443/test",
        "nonce": "FF6efWFQPySyI0BX",
        "sub": "testuser"
    },
    "scope": "openid",
    "state": "qI7gjrGtEe27ctb3",
    "token_type": "bearer"
}
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