AbortedConsole Output

Skipping 4,337 KB.. Full Log
,
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Support WebFinger Discovery
#######################################################
#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:39 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:39 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Enables Dynamic Registration
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "logo_uri": "http://www.gluu.org/wp-content/themes/gluursn/images/logo.png",
    "policy_uri": "http://www.gluu.org/policy",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "public",
    "request_object_signing_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_jwt"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1695
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:39 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!B599.6E03.A6E5.E05D",
    "client_secret": "278c4bd4-9943-4a05-a4fb-a9ce3c02d905",
    "registration_access_token": "069695dd-12bc-4fe5-b394-4e962295ee2a",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!B599.6E03.A6E5.E05D",
    "client_id_issued_at": 1531131580,
    "client_secret_expires_at": 1531217980,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": ["code"],
    "grant_types": [
        "refresh_token",
        "authorization_code"
    ],
    "application_type": "web",
    "contacts": [
        "javier.rojas.blum@gmail.com",
        "javier@gluu.org"
    ],
    "client_name": "oxAuth test app",
    "logo_uri": "http://www.gluu.org/wp-content/themes/gluursn/images/logo.png",
    "policy_uri": "http://www.gluu.org/policy",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "public",
    "id_token_signed_response_alg": "RS256",
    "request_object_signing_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_jwt",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:40 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:40 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Ignores Extra Query Component in Request
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": [
        "code",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1425
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:40 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!8FFA.75AC.FD16.0D73",
    "client_secret": "575e3d36-6b2c-4283-b398-33c2dc053e77",
    "registration_access_token": "da983809-15b1-4aca-a651-eb43fbddd03c",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!8FFA.75AC.FD16.0D73",
    "client_id_issued_at": 1531131580,
    "client_secret_expires_at": 1531217980,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "grant_types": [
        "refresh_token",
        "implicit",
        "authorization_code"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%218FFA.75AC.FD16.0D73&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=a5576c35-3675-4c7e-a063-feff438978b6&nonce=1127d6e7-623a-4dcc-94ef-f7eef1d38eec&custom_param=custom_value
06:20:06.491 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:e228351a-bc28-4473-bd49-e577eff32484
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%218FFA.75AC.FD16.0D73&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=a5576c35-3675-4c7e-a063-feff438978b6&nonce=1127d6e7-623a-4dcc-94ef-f7eef1d38eec&custom_param=custom_value

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#code=73118f85-5ca1-4a9e-88cd-e0eaeb9b523d&scope=address+openid+profile+email&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCE4RkZBLjc1QUMuRkQxNi4wRDczIiwiZXhwIjoxNTMxMTM1MTgxLCJpYXQiOjE1MzExMzE1ODEsIm5vbmNlIjoiMTEyN2Q2ZTctNjIzYS00ZGNjLTk0ZWYtZjdlZWYxZDM4ZWVjIiwiYXV0aF90aW1lIjoxNTMxMTMxNTgxLCJjX2hhc2giOiJxY2NrUmExX3NlNjVNR19RZXczUHRBIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwic3ViIjoiS1I2bndjekh5ajRFMGN5YW5xSVRHRFgwY0lQMW8zVy1hNkU2QWVmTElnayJ9.EuBL9jsH43FXTBGg7wSI6xVJl9pkJBg_MrZBHMjUjqjhnmzkZyuRMrhosk8FpwYd_3s5oN8xwv0NU7NJTNNGVzviiN8LRghS0C2SRqUTgvHK9mdcbRfbMzDzQlv_EKV6rs7wASgmoo1Y-ZvFqm4XwJE3oCBZF7RAdFiOCvLFPft76MMvPZzxgOF6yeDvobW3sLG8TciQ_6Sn-Su_Na27c9P1FGqsPd7GHtFdQIX5aKw2RZfOX4_Teq1USy5_JIM22GzWG3_rOl1jpWeoYTgkUSROPi1XPyq5QQQE32KFPlhtBhvic_C9JOo0jlfAafdTUA0rmf7sU8xbAxvkcrEn-g&session_id=602a715d-9f70-4509-92e9-82afc24070d7&state=a5576c35-3675-4c7e-a063-feff438978b6&session_state=e228351a-bc28-4473-bd49-e577eff32484

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:41 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:41 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Includes at hash in ID Token when Implicit Flow Used
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": [
        "token",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1340
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:41 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!B40C.6BCF.CFA2.0EA1",
    "client_secret": "1d42a323-a67a-4ec9-8882-d6dd9176d8ba",
    "registration_access_token": "624dd629-c03f-47ef-b093-d3550730b4ae",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!B40C.6BCF.CFA2.0EA1",
    "client_id_issued_at": 1531131581,
    "client_secret_expires_at": 1531217981,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "id_token",
        "token"
    ],
    "grant_types": ["implicit"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=token+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21B40C.6BCF.CFA2.0EA1&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=96fbccf4-efc6-43fc-832a-fe8e7bfbcd93&nonce=368f851b-09b5-4391-b96a-96395db5c4c2
06:20:07.878 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:74cf29f3-e1bf-44ec-935d-514becc5c9ec
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=token+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21B40C.6BCF.CFA2.0EA1&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=96fbccf4-efc6-43fc-832a-fe8e7bfbcd93&nonce=368f851b-09b5-4391-b96a-96395db5c4c2

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#access_token=5e4a5bdc-2928-4f66-a04d-5bc319c0b17d&scope=address+openid+profile+email&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCFCNDBDLjZCQ0YuQ0ZBMi4wRUExIiwiZXhwIjoxNTMxMTM1MTgyLCJpYXQiOjE1MzExMzE1ODIsIm5vbmNlIjoiMzY4Zjg1MWItMDliNS00MzkxLWI5NmEtOTYzOTVkYjVjNGMyIiwiYXV0aF90aW1lIjoxNTMxMTMxNTgyLCJhdF9oYXNoIjoiTk5hZTl3V3ZvU29mTnQxbHlBa2UzZyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6ImJjZVBoSlpma3ZLYjhaWVN3QjZmVzdIS3FhRUhJZ3JZTkw1V1Z2NzN6a2sifQ.SI_Op7ehBFf7NFf4DNXuQ8QP30Iy75coDoje54QvXH1QTE3fdDi_dZejq_cqHs6iTiFZRz4oF8fNAWzJxhonk7sOXANKwS237RfHhmFA7uS2kUIUMCNpw_0Lqv5FayyLHmOEU3bf8e-12sUI0z8iK8LrEoQGywlI9gedP3OhqW2GTrdOJOntsnYluVl4rjM7fiOD0rLgw7B6xofB88v58Gd__QVPxqr5ETeATfEMp8sWKbstHnwuf27INlIl5Sa9XSSESgJ3Du8IcKPwDKCvT7FjcuagZV06env3iKEtO05cx6i_Zv-QAIrgBp6f_xfUTwBvtjuvuWsHkE9-n1py_g&session_id=d1ab7c9c-a806-4487-bae2-8adce959bbfc&state=96fbccf4-efc6-43fc-832a-fe8e7bfbcd93&token_type=bearer&session_state=74cf29f3-e1bf-44ec-935d-514becc5c9ec&expires_in=299

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:42 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:42 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Includes c hash in ID Token when Code Flow Used
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": [
        "code",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1425
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:42 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!011D.139D.37F0.407B",
    "client_secret": "06265c51-c0ff-4f07-a0df-6c346358c830",
    "registration_access_token": "d0febe49-9084-44a5-97f3-8dfdc980da21",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!011D.139D.37F0.407B",
    "client_id_issued_at": 1531131583,
    "client_secret_expires_at": 1531217983,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "grant_types": [
        "refresh_token",
        "implicit",
        "authorization_code"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/restv1/register?{} HTTP/1.1
Host: ce-dev4.gluu.org
Authorization: Bearer d0febe49-9084-44a5-97f3-8dfdc980da21

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1425
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:43 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!011D.139D.37F0.407B",
    "client_secret": "06265c51-c0ff-4f07-a0df-6c346358c830",
    "registration_access_token": "d0febe49-9084-44a5-97f3-8dfdc980da21",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!011D.139D.37F0.407B",
    "client_id_issued_at": 1531131583,
    "client_secret_expires_at": 1531217983,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "grant_types": [
        "refresh_token",
        "implicit",
        "authorization_code"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21011D.139D.37F0.407B&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=a5517200-7602-4e9c-a153-7fb43ecfe1c0&nonce=9501be45-2b8b-45f2-88c8-1537f2029c2c
06:20:09.300 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:f27e6a62-f46e-457f-8998-4ff2d1d16235
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21011D.139D.37F0.407B&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=a5517200-7602-4e9c-a153-7fb43ecfe1c0&nonce=9501be45-2b8b-45f2-88c8-1537f2029c2c

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#code=de273e74-3bad-422b-8649-4ced9008ef50&scope=address+openid+profile+email&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCEwMTFELjEzOUQuMzdGMC40MDdCIiwiZXhwIjoxNTMxMTM1MTg0LCJpYXQiOjE1MzExMzE1ODQsIm5vbmNlIjoiOTUwMWJlNDUtMmI4Yi00NWYyLTg4YzgtMTUzN2YyMDI5YzJjIiwiYXV0aF90aW1lIjoxNTMxMTMxNTgzLCJjX2hhc2giOiIweDZvSTV0ZlRMNVNTcGt0WXBURFFBIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwic3ViIjoib0FYc2Y5YURYOHRDQk9DamtTZm9jX01hTmltdnFYTy05SWxvQUlDWWtQZyJ9.s5vXxQ9WjRFIT17Umcc356PvmilWNFbYMIQVD44MvFb_K2V7I6c2xfXXAWCH3kUGkdu7YfjFXnTHsPYtlMkrxEHi9uGmaFF_R2BliXvDiLbbZu8vS9z9_6dvqlwDKFIOqG2Jmvk1WBL-bJj2vsfmafYc_Cw9waO7yb-n-15fr0AsoexYd1nhJHxWgY2mQyIDvjSVVl_6ryVwxe8wbw8YoEvqleSZHfufLv9gRDujd5oxBlOQLJfh4nD8ZO7gk3zNQMucdc-XfP1H-aEi21X00KFelYWeG_43N7RHcUFPD5IwQs32Pqsi7i3rnT5LOk1gVQIiNhokW57g-glVoGgVRA&session_id=c8db2b85-3684-4d3b-b4f7-52c97f880fae&state=a5517200-7602-4e9c-a153-7fb43ecfe1c0&session_state=f27e6a62-f46e-457f-8998-4ff2d1d16235

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:44 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:44 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: opRegistrationJwks
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": ["code"],
    "grant_types": ["authorization_code"],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "jwks_uri": "{\"keys\": [\n    {\n        \"kid\": \"48bfa8a4-c8a7-4a09-ae98-bf325d749119\",\n        \"kty\": \"RSA\",\n        \"use\": \"sig\",\n        \"alg\": \"RS256\",\n        \"exp\": 1543982197534,\n        \"n\": \"nACMZ-nbPlnHcgsc3JsBrwxyN8lB9wluiGUhN9MF_78YW6voBZPaPswDL6ExE0x8gTSdcGbG6mE3rma5lsPxhZZtapJnKFMTXfNCVYd_sDvN-iaYwfmvYVX3Ij2uDNKnyh5yN-GGClsdEE7r4Ms9AzlMsmz89sinAga38PazPVQPvETWPE7ovmkh30CdjzPIhLsRvt26xbNnElKGRRgMkVU4sdrFmfqd40g56e6fITKk0cHJodqbwXBByn2irzuCchHyLH88ihKQr4cBkp06yE3wIH1luxPlHb7vPItbzfPpQh0UI3LRJD52Hjvfv8O35aQJqH9mUEdbqzGUWqN9FQ\",\n        \"e\": \"AQAB\",\n        \"x5c\": [\"MIIDAzCCAeugAwIBAgIgfMurl7UeO8zrTsHAwww2Bf7Ubn1OZnN6MtvlspH4ObwwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjhaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcAIxn6ds+WcdyCxzcmwGvDHI3yUH3CW6IZSE30wX/vxhbq+gFk9o+zAMvoTETTHyBNJ1wZsbqYTeuZrmWw/GFlm1qkmcoUxNd80JVh3+wO836JpjB+a9hVfciPa4M0qfKHnI34YYKWx0QTuvgyz0DOUyybPz2yKcCBrfw9rM9VA+8RNY8Tui+aSHfQJ2PM8iEuxG+3brFs2cSUoZFGAyRVTix2sWZ+p3jSDnp7p8hMqTRwcmh2pvBcEHKfaKvO4JyEfIsfzyKEpCvhwGSnTrITfAgfWW7E+Udvu88i1vN8+lCHRQjctEkPnYeO9+/w7flpAmof2ZQR1urMZRao30VAgMBAAGjJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADANBgkqhkiG9w0BAQsFAAOCAQEAamr3a2mlDa6oP8fJ5BdFmg2sthtqpcxBw+TxIxnSvWnxSPcAmUbiih+CWAz+l8Q1DEMt+c5JRkW79sAaoRDk7ri+KuSeicDB3P64vx+VCCSnIitAfiJe6uBv7N8+rjw0GDJp6/bD0CHfjRglBYDUIyY49uRy3BeRFk1B1j8qWmn/2vc5ulC0bvjcPa0TsuBIWD8UMzG/M+qG6ZIclJUXNEdpqb6uM+oJ/AhMBvQXgBsgym/uszA/QaAv+wsJ3CWMnXp5TkPLp32yrWaUFAlf1BXR5vl+35+tPJZijmMQGqfeSwHpaKFtrZe1cqePCRrKYwyEhdM0ovEAB9Gkl222Mw==\"]\n    },\n    {\n        \"kid\": \"c462143f-a197-4f7a-af99-0b1087368616\",\n        \"kty\": \"RSA\",\n        \"use\": \"sig\",\n        \"alg\": \"RS384\",\n        \"exp\": 1543982197534,\n        \"n\": \"wkyHHHlA2U_kYN_I9sM6BHXZN0cuf65Ac2_nVGlP40_AAi_d1hHp088tpvr2JxNJuSenrIbW3CqG4vaOb6y_pMDPl3DOUqll2qnX5NJBhuNSPELrtKLm5rg8SRC7ckNxMJZwLIkt4LYWYF02vRYo7O22kiiRskPtj7qyQCh8G2BSEKDlruWwTxm4vIHmxArv6xXGF69Sxw9NLmyNFrel_UDux98LjYELhux-LwV1F7nYrBas5gk1uzYCXPgm5j96mUTe6or6u-KcfhYsZonGPRfrLThFFblWmfLeRpnMxThobXhtzrv0rZfPSUPGwz4SRV7s-ydSzvCS9B9-gPiDLQ\",\n        \"e\": \"AQAB\",\n        \"x5c\": [\"MIIDBDCCAeygAwIBAgIhAP6wtThVWzj01Ukq05170KISG3YlWfcP+rCzfWmNyW5FMA0GCSqGSIb3DQEBDAUAMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwkyHHHlA2U/kYN/I9sM6BHXZN0cuf65Ac2/nVGlP40/AAi/d1hHp088tpvr2JxNJuSenrIbW3CqG4vaOb6y/pMDPl3DOUqll2qnX5NJBhuNSPELrtKLm5rg8SRC7ckNxMJZwLIkt4LYWYF02vRYo7O22kiiRskPtj7qyQCh8G2BSEKDlruWwTxm4vIHmxArv6xXGF69Sxw9NLmyNFrel/UDux98LjYELhux+LwV1F7nYrBas5gk1uzYCXPgm5j96mUTe6or6u+KcfhYsZonGPRfrLThFFblWmfLeRpnMxThobXhtzrv0rZfPSUPGwz4SRV7s+ydSzvCS9B9+gPiDLQIDAQABoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQEMBQADggEBAHHrlXVW0VWuX7G2e1Jl4VP8zULV7JAxjLPmC8mY4OVmbrMItK8mUyoRmb2A5TXSpwRYGGrLA2PNhrmKshPP/5ta5Hc3PNwMkIE9Rd+hLE/mp5ELWFZwh+sBYUh+HG1froG5icOdkG/+LYUFRIyDf87DqMeJCJ/ZoHkM6PjKJwlqvY7E39s2c2cgVb7f+jxxzioq/FYjv0zNWAKrdFn/sCNZsh/dnCgiNwqbl5DtmeEkeZ4HgoWvwnGUNaNuRKuh22w5NG8ynG+fTQ1v5otZ4dGHxjERqTA8e8UBJK2lpSfRb5pafcsvDmPyNOHONE8t37XgYvx47lvSPkx+EgzFxvk=\"]\n    },\n    {\n        \"kid\": \"85b08483-6890-4843-9baf-837a24a3c6d2\",\n        \"kty\": \"RSA\",\n        \"use\": \"sig\",\n        \"alg\": \"RS512\",\n        \"exp\": 1543982197534,\n        \"n\": \"vFbuf1z-mox-f_yeu5MRKuf6cqMS1JtUYUZATnRDel8RtEQJoHSdY0bIjYGpxwfJMWpEtakncUVbakenEr6g_eodJpbcu7CAEoEb8Nwd0h8SMCtyAzDOWFTLNQjZTv99SzoYus1-WeVQh628660QoeY_8g4lkvCUxIYBL6VimDlovwwyf56-KQhc1F2PaCvxgMc6Sn68bj5QeGdWoK0-VgI49T2W3xlRK_-jBurRLTzOx29ZMwOdwzRf9RULvO9DCAUTeHncA_uGQ9jPbSVMqlKcImGAyTyR-6HKqrpZEcstjlTpGprdP5TQJJofulG5ENgqdxv_OXEzDT76xuVTYQ\",\n        \"e\": \"AQAB\",\n        \"x5c\": [\"MIIDBDCCAeygAwIBAgIhALLF+YIMoDqLCNBrN0idN8G4fhV1TISx8GaIISI7HAx5MA0GCSqGSIb3DQEBDQUAMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvFbuf1z+mox+f/yeu5MRKuf6cqMS1JtUYUZATnRDel8RtEQJoHSdY0bIjYGpxwfJMWpEtakncUVbakenEr6g/eodJpbcu7CAEoEb8Nwd0h8SMCtyAzDOWFTLNQjZTv99SzoYus1+WeVQh628660QoeY/8g4lkvCUxIYBL6VimDlovwwyf56+KQhc1F2PaCvxgMc6Sn68bj5QeGdWoK0+VgI49T2W3xlRK/+jBurRLTzOx29ZMwOdwzRf9RULvO9DCAUTeHncA/uGQ9jPbSVMqlKcImGAyTyR+6HKqrpZEcstjlTpGprdP5TQJJofulG5ENgqdxv/OXEzDT76xuVTYQIDAQABoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQENBQADggEBAAEg6VmC9zPD6T+OSTR6nAUEuQ3B6WNdLJM8WkVxQAB7xxLkJxrEU2glwO5SD9Y7F0cBCUhJltgZxFKMae7b32Qp9L/7fay6lKiZ2Kku0XQhjCXSgtZf0xpKL+lhsCCEdjwOofwPflBZp4iVBnbApQ68FcDO5oCcyFN7/UY0FEf7e2NCsQ67gVq9T4+3iOCCAl2oS+0rzbRDw7gp7B/OvOWOibYzGfbUNue3xrQg6t6D0SNn9adb74IHVNJc0l3DlooWHblcOwN6ggFyc4irZMStgwhmxJk7wHPO/f+FcNkzPB/qClMoBFbfkUF9RI8gR2yw3xxtAP5ZIcL3HZmnY8o=\"]\n    },\n    {\n        \"kid\": \"547b2838-a848-4671-8a47-d5361738f2ae\",\n        \"kty\": \"EC\",\n        \"use\": \"sig\",\n        \"alg\": \"ES256\",\n        \"exp\": 1543982197534,\n        \"crv\": \"P-256\",\n        \"x\": \"XJ7t6MH9OWbjnONum3OOXhUse9uQNCAB2EL5lLSPKIY\",\n        \"y\": \"mHx_-Yo01ZrDMCsR9ZHw3rhZt6jwuDwRceUVTXydBJE\",\n        \"x5c\": [\"MIIBdzCCAR2gAwIBAgIgWEaudbQFc8OQRBgdg50JtAEcXLpzE25uU1Hh5nrdfI0wCgYIKoZIzj0EAwIwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjhaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARcnu3owf05ZuOc426bc45eFSx725A0IAHYQvmUtI8ohph8f/mKNNWawzArEfWR8N64Wbeo8Lg8EXHlFU18nQSRoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwCgYIKoZIzj0EAwIDSAAwRQIhAMmBvKK654FaJGU2TyhCCaf0okRnNYqE8r7RJmmduMtpAiABvRpXmYTCLzLdfJF/yGxMzGDvkplrV2wLNaKD7yFU8g==\"]\n    },\n    {\n        \"kid\": \"c4fe4110-eb56-41c6-bac3-5316f6b1443d\",\n        \"kty\": \"EC\",\n        \"use\": \"sig\",\n        \"alg\": \"ES384\",\n        \"exp\": 1543982197534,\n        \"crv\": \"P-384\",\n        \"x\": \"_5mNMFEfdqZLgQfftWa3fKJjMDIZ3ttZbrCETaRdOM2UMGzzC_N-H6MTI1d3Rl7o\",\n        \"y\": \"5DMPTuRIvHOikLW5_kitTDHnorDlpUyW9d1IVa8VejVYuGDiYZRgY846aCvDM2PS\",\n        \"x5c\": [\"MIIBtDCCATugAwIBAgIhAOolO3+Ks4qaol8fdFyFkVR0jzQUk9TyBm9m8pCYrPggMAoGCCqGSM49BAMDMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/5mNMFEfdqZLgQfftWa3fKJjMDIZ3ttZbrCETaRdOM2UMGzzC/N+H6MTI1d3Rl7o5DMPTuRIvHOikLW5/kitTDHnorDlpUyW9d1IVa8VejVYuGDiYZRgY846aCvDM2PSoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwCgYIKoZIzj0EAwMDZwAwZAIwKhsYX0YiPYSGMWh97X1++gxSFWEdEudvgHzVYDq2b4jJQOLfJ/IheTuCJx3uGqUmAjB0Lrb3fr4/UcIXuXYUw9X62dztMaqS7eU3tkiUuSSr844oKzbWAqP6m+6QgBEe0mg=\"]\n    },\n    {\n        \"kid\": \"26f8040c-ae8b-4daa-8f71-a7fdf14df643\",\n        \"kty\": \"EC\",\n        \"use\": \"sig\",\n        \"alg\": \"ES512\",\n        \"exp\": 1543982197534,\n        \"crv\": \"P-521\",\n        \"x\": \"AY3CJjDFWlxn2MzrdS7OT8uaGmhssNTGgiRT2DzEa3a9623LFpMzw6TvzRCOm11cURWlILwhr9HZw6nJErWYTcXE\",\n        \"y\": \"ASHsPmMWFJq3bSBixeSH3e6TbwRMetoOhwADlLS593iMNg27aK5iIANobXP1dUFx61uvfdjv5rc_P36xBeGnq5U7\",\n        \"x5c\": [\"MIIB/zCCAWGgAwIBAgIhAJycdCmyiVg3K7x4FMS4QkL1tHHEDVezzmiwo/Ymmj1wMAoGCCqGSM49BAMEMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBjcImMMVaXGfYzOt1Ls5Py5oaaGyw1MaCJFPYPMRrdr3rbcsWkzPDpO/NEI6bXVxRFaUgvCGv0dnDqckStZhNxcQBIew+YxYUmrdtIGLF5Ifd7pNvBEx62g6HAAOUtLn3eIw2DbtormIgA2htc/V1QXHrW6992O/mtz8/frEF4aerlTujJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADAKBggqhkjOPQQDBAOBiwAwgYcCQgCs5z85q49uoGlOBgnziTSMCp5N2zEQqSlQjFrhf/Kje7TFtKrntjrIx1mIS8YxOGbm12APh+BB4H7lPBoeNmQ/NwJBfw+YndSgJeikDtnGkoTkdqBNZlOLouzPG1s98PWFK4DD60fBmKfqLafaTE56jNMt0nHLi0ilEn4+WpiqF49c5bc=\"]\n    },\n    {\n        \"kid\": \"15efb0c3-11e0-4c99-a5d0-cc4810425e5a\",\n        \"kty\": \"RSA\",\n        \"use\": \"enc\",\n        \"alg\": \"RS256\",\n        \"exp\": 1543982197534,\n        \"n\": \"r81HkdOLunPPf-pN2Ug_KcupiF2U6HCb1WXcqGAnNO8ihS3amYIuRil-LWw_BpRAzF23BgIi_A1Vs94alz5c_Dq93USPgCwzruJyeN_5wQV6Tlf1BiStYNgz3eFLtLQnLWhoshVoXPF41ibKTsVDyqv8JWkqAsUiqnpKx3qsAq6UlwkkkWlsOaNBnYQ0lKXhwjxRrgIpRqZYZQQfqkITv5xzqrq4KmX7RVb2vF_ZWhyDISduWVzpiBcReDzgzfQSrvPjm423_JajOIgCOOOGEY2IFXbBNnsxHeyreM9oj3OAcRkY2ywoQ33mANTrOj_ROvmfKGcErZO9tOxetp8sbw\",\n        \"e\": \"AQAB\",\n        \"x5c\": [\"MIIDAzCCAeugAwIBAgIgaT01xn+6lw4hSmhl/E2uk4YOR4FGFRHv41hcExsqANkwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjlaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvzUeR04u6c89/6k3ZSD8py6mIXZTocJvVZdyoYCc07yKFLdqZgi5GKX4tbD8GlEDMXbcGAiL8DVWz3hqXPlz8Or3dRI+ALDOu4nJ43/nBBXpOV/UGJK1g2DPd4Uu0tCctaGiyFWhc8XjWJspOxUPKq/wlaSoCxSKqekrHeqwCrpSXCSSRaWw5o0GdhDSUpeHCPFGuAilGplhlBB+qQhO/nHOqurgqZftFVva8X9laHIMhJ25ZXOmIFxF4PODN9BKu8+Objbf8lqM4iAI444YRjYgVdsE2ezEd7Kt4z2iPc4BxGRjbLChDfeYA1Os6P9E6+Z8oZwStk7207F62nyxvAgMBAAGjJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADANBgkqhkiG9w0BAQsFAAOCAQEANybr0rnJZl7vnJ414kbFTbU9QIP7qSzLqoHHDpqYxhnQA+2mHOlTzd0KMUQHGIHdVZejCwKnMOmLNLzzx9ROgSAcbc003s+LC5zmh1E+G29azqu9eHh32YSP9l+xKR43dTC9OkLYpEjOFzYnGpnZJ40yJTLkUM5r110Zz/J87v0I24RKn8sEILLVOsOcSpYroPIafmTdZ/M1BWwVC+ez1897E0vUNltbDKHUWc1UuPANoAvto2uUuYPKPEOkj/fw+DMeVx2+oqWxyxk5r9Ppov76uO6rwz5v7u5h+RHH0uuxcIYTNbsl+TelgJymIs82o+FjSAi1B6fyoMxabjQslQ==\"]\n    }\n]}",
    "token_endpoint_auth_method": "private_key_jwt",
    "post_logout_redirect_uris": ["https://client.example.com/pl"]
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:44 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!C7FC.6047.8804.FA12",
    "client_secret": "cba24803-bc4a-4a61-b2cf-178b505b4dcd",
    "registration_access_token": "fcb1f12d-166f-45db-b10c-59ed4a872759",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!C7FC.6047.8804.FA12",
    "client_id_issued_at": 1531131584,
    "client_secret_expires_at": 1531217984,
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": ["code"],
    "grant_types": [
        "refresh_token",
        "authorization_code"
    ],
    "application_type": "web",
    "contacts": [
        "javier.rojas.blum@gmail.com",
        "javier@gluu.org"
    ],
    "client_name": "oxAuth test app",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "private_key_jwt",
    "require_auth_time": false,
    "post_logout_redirect_uris": ["https://client.example.com/pl"],
    "jwks": {"keys": [
        {
            "kid": "48bfa8a4-c8a7-4a09-ae98-bf325d749119",
            "kty": "RSA",
            "use": "sig",
            "alg": "RS256",
            "exp": 1543982197534,
            "n": "nACMZ-nbPlnHcgsc3JsBrwxyN8lB9wluiGUhN9MF_78YW6voBZPaPswDL6ExE0x8gTSdcGbG6mE3rma5lsPxhZZtapJnKFMTXfNCVYd_sDvN-iaYwfmvYVX3Ij2uDNKnyh5yN-GGClsdEE7r4Ms9AzlMsmz89sinAga38PazPVQPvETWPE7ovmkh30CdjzPIhLsRvt26xbNnElKGRRgMkVU4sdrFmfqd40g56e6fITKk0cHJodqbwXBByn2irzuCchHyLH88ihKQr4cBkp06yE3wIH1luxPlHb7vPItbzfPpQh0UI3LRJD52Hjvfv8O35aQJqH9mUEdbqzGUWqN9FQ",
            "e": "AQAB",
            "x5c": ["MIIDAzCCAeugAwIBAgIgfMurl7UeO8zrTsHAwww2Bf7Ubn1OZnN6MtvlspH4ObwwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjhaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCcAIxn6ds+WcdyCxzcmwGvDHI3yUH3CW6IZSE30wX/vxhbq+gFk9o+zAMvoTETTHyBNJ1wZsbqYTeuZrmWw/GFlm1qkmcoUxNd80JVh3+wO836JpjB+a9hVfciPa4M0qfKHnI34YYKWx0QTuvgyz0DOUyybPz2yKcCBrfw9rM9VA+8RNY8Tui+aSHfQJ2PM8iEuxG+3brFs2cSUoZFGAyRVTix2sWZ+p3jSDnp7p8hMqTRwcmh2pvBcEHKfaKvO4JyEfIsfzyKEpCvhwGSnTrITfAgfWW7E+Udvu88i1vN8+lCHRQjctEkPnYeO9+/w7flpAmof2ZQR1urMZRao30VAgMBAAGjJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADANBgkqhkiG9w0BAQsFAAOCAQEAamr3a2mlDa6oP8fJ5BdFmg2sthtqpcxBw+TxIxnSvWnxSPcAmUbiih+CWAz+l8Q1DEMt+c5JRkW79sAaoRDk7ri+KuSeicDB3P64vx+VCCSnIitAfiJe6uBv7N8+rjw0GDJp6/bD0CHfjRglBYDUIyY49uRy3BeRFk1B1j8qWmn/2vc5ulC0bvjcPa0TsuBIWD8UMzG/M+qG6ZIclJUXNEdpqb6uM+oJ/AhMBvQXgBsgym/uszA/QaAv+wsJ3CWMnXp5TkPLp32yrWaUFAlf1BXR5vl+35+tPJZijmMQGqfeSwHpaKFtrZe1cqePCRrKYwyEhdM0ovEAB9Gkl222Mw=="]
        },
        {
            "kid": "c462143f-a197-4f7a-af99-0b1087368616",
            "kty": "RSA",
            "use": "sig",
            "alg": "RS384",
            "exp": 1543982197534,
            "n": "wkyHHHlA2U_kYN_I9sM6BHXZN0cuf65Ac2_nVGlP40_AAi_d1hHp088tpvr2JxNJuSenrIbW3CqG4vaOb6y_pMDPl3DOUqll2qnX5NJBhuNSPELrtKLm5rg8SRC7ckNxMJZwLIkt4LYWYF02vRYo7O22kiiRskPtj7qyQCh8G2BSEKDlruWwTxm4vIHmxArv6xXGF69Sxw9NLmyNFrel_UDux98LjYELhux-LwV1F7nYrBas5gk1uzYCXPgm5j96mUTe6or6u-KcfhYsZonGPRfrLThFFblWmfLeRpnMxThobXhtzrv0rZfPSUPGwz4SRV7s-ydSzvCS9B9-gPiDLQ",
            "e": "AQAB",
            "x5c": ["MIIDBDCCAeygAwIBAgIhAP6wtThVWzj01Ukq05170KISG3YlWfcP+rCzfWmNyW5FMA0GCSqGSIb3DQEBDAUAMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwkyHHHlA2U/kYN/I9sM6BHXZN0cuf65Ac2/nVGlP40/AAi/d1hHp088tpvr2JxNJuSenrIbW3CqG4vaOb6y/pMDPl3DOUqll2qnX5NJBhuNSPELrtKLm5rg8SRC7ckNxMJZwLIkt4LYWYF02vRYo7O22kiiRskPtj7qyQCh8G2BSEKDlruWwTxm4vIHmxArv6xXGF69Sxw9NLmyNFrel/UDux98LjYELhux+LwV1F7nYrBas5gk1uzYCXPgm5j96mUTe6or6u+KcfhYsZonGPRfrLThFFblWmfLeRpnMxThobXhtzrv0rZfPSUPGwz4SRV7s+ydSzvCS9B9+gPiDLQIDAQABoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQEMBQADggEBAHHrlXVW0VWuX7G2e1Jl4VP8zULV7JAxjLPmC8mY4OVmbrMItK8mUyoRmb2A5TXSpwRYGGrLA2PNhrmKshPP/5ta5Hc3PNwMkIE9Rd+hLE/mp5ELWFZwh+sBYUh+HG1froG5icOdkG/+LYUFRIyDf87DqMeJCJ/ZoHkM6PjKJwlqvY7E39s2c2cgVb7f+jxxzioq/FYjv0zNWAKrdFn/sCNZsh/dnCgiNwqbl5DtmeEkeZ4HgoWvwnGUNaNuRKuh22w5NG8ynG+fTQ1v5otZ4dGHxjERqTA8e8UBJK2lpSfRb5pafcsvDmPyNOHONE8t37XgYvx47lvSPkx+EgzFxvk="]
        },
        {
            "kid": "85b08483-6890-4843-9baf-837a24a3c6d2",
            "kty": "RSA",
            "use": "sig",
            "alg": "RS512",
            "exp": 1543982197534,
            "n": "vFbuf1z-mox-f_yeu5MRKuf6cqMS1JtUYUZATnRDel8RtEQJoHSdY0bIjYGpxwfJMWpEtakncUVbakenEr6g_eodJpbcu7CAEoEb8Nwd0h8SMCtyAzDOWFTLNQjZTv99SzoYus1-WeVQh628660QoeY_8g4lkvCUxIYBL6VimDlovwwyf56-KQhc1F2PaCvxgMc6Sn68bj5QeGdWoK0-VgI49T2W3xlRK_-jBurRLTzOx29ZMwOdwzRf9RULvO9DCAUTeHncA_uGQ9jPbSVMqlKcImGAyTyR-6HKqrpZEcstjlTpGprdP5TQJJofulG5ENgqdxv_OXEzDT76xuVTYQ",
            "e": "AQAB",
            "x5c": ["MIIDBDCCAeygAwIBAgIhALLF+YIMoDqLCNBrN0idN8G4fhV1TISx8GaIISI7HAx5MA0GCSqGSIb3DQEBDQUAMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvFbuf1z+mox+f/yeu5MRKuf6cqMS1JtUYUZATnRDel8RtEQJoHSdY0bIjYGpxwfJMWpEtakncUVbakenEr6g/eodJpbcu7CAEoEb8Nwd0h8SMCtyAzDOWFTLNQjZTv99SzoYus1+WeVQh628660QoeY/8g4lkvCUxIYBL6VimDlovwwyf56+KQhc1F2PaCvxgMc6Sn68bj5QeGdWoK0+VgI49T2W3xlRK/+jBurRLTzOx29ZMwOdwzRf9RULvO9DCAUTeHncA/uGQ9jPbSVMqlKcImGAyTyR+6HKqrpZEcstjlTpGprdP5TQJJofulG5ENgqdxv/OXEzDT76xuVTYQIDAQABoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQENBQADggEBAAEg6VmC9zPD6T+OSTR6nAUEuQ3B6WNdLJM8WkVxQAB7xxLkJxrEU2glwO5SD9Y7F0cBCUhJltgZxFKMae7b32Qp9L/7fay6lKiZ2Kku0XQhjCXSgtZf0xpKL+lhsCCEdjwOofwPflBZp4iVBnbApQ68FcDO5oCcyFN7/UY0FEf7e2NCsQ67gVq9T4+3iOCCAl2oS+0rzbRDw7gp7B/OvOWOibYzGfbUNue3xrQg6t6D0SNn9adb74IHVNJc0l3DlooWHblcOwN6ggFyc4irZMStgwhmxJk7wHPO/f+FcNkzPB/qClMoBFbfkUF9RI8gR2yw3xxtAP5ZIcL3HZmnY8o="]
        },
        {
            "kid": "547b2838-a848-4671-8a47-d5361738f2ae",
            "kty": "EC",
            "use": "sig",
            "alg": "ES256",
            "exp": 1543982197534,
            "crv": "P-256",
            "x": "XJ7t6MH9OWbjnONum3OOXhUse9uQNCAB2EL5lLSPKIY",
            "y": "mHx_-Yo01ZrDMCsR9ZHw3rhZt6jwuDwRceUVTXydBJE",
            "x5c": ["MIIBdzCCAR2gAwIBAgIgWEaudbQFc8OQRBgdg50JtAEcXLpzE25uU1Hh5nrdfI0wCgYIKoZIzj0EAwIwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjhaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARcnu3owf05ZuOc426bc45eFSx725A0IAHYQvmUtI8ohph8f/mKNNWawzArEfWR8N64Wbeo8Lg8EXHlFU18nQSRoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwCgYIKoZIzj0EAwIDSAAwRQIhAMmBvKK654FaJGU2TyhCCaf0okRnNYqE8r7RJmmduMtpAiABvRpXmYTCLzLdfJF/yGxMzGDvkplrV2wLNaKD7yFU8g=="]
        },
        {
            "kid": "c4fe4110-eb56-41c6-bac3-5316f6b1443d",
            "kty": "EC",
            "use": "sig",
            "alg": "ES384",
            "exp": 1543982197534,
            "crv": "P-384",
            "x": "_5mNMFEfdqZLgQfftWa3fKJjMDIZ3ttZbrCETaRdOM2UMGzzC_N-H6MTI1d3Rl7o",
            "y": "5DMPTuRIvHOikLW5_kitTDHnorDlpUyW9d1IVa8VejVYuGDiYZRgY846aCvDM2PS",
            "x5c": ["MIIBtDCCATugAwIBAgIhAOolO3+Ks4qaol8fdFyFkVR0jzQUk9TyBm9m8pCYrPggMAoGCCqGSM49BAMDMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE/5mNMFEfdqZLgQfftWa3fKJjMDIZ3ttZbrCETaRdOM2UMGzzC/N+H6MTI1d3Rl7o5DMPTuRIvHOikLW5/kitTDHnorDlpUyW9d1IVa8VejVYuGDiYZRgY846aCvDM2PSoycwJTAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwCgYIKoZIzj0EAwMDZwAwZAIwKhsYX0YiPYSGMWh97X1++gxSFWEdEudvgHzVYDq2b4jJQOLfJ/IheTuCJx3uGqUmAjB0Lrb3fr4/UcIXuXYUw9X62dztMaqS7eU3tkiUuSSr844oKzbWAqP6m+6QgBEe0mg="]
        },
        {
            "kid": "26f8040c-ae8b-4daa-8f71-a7fdf14df643",
            "kty": "EC",
            "use": "sig",
            "alg": "ES512",
            "exp": 1543982197534,
            "crv": "P-521",
            "x": "AY3CJjDFWlxn2MzrdS7OT8uaGmhssNTGgiRT2DzEa3a9623LFpMzw6TvzRCOm11cURWlILwhr9HZw6nJErWYTcXE",
            "y": "ASHsPmMWFJq3bSBixeSH3e6TbwRMetoOhwADlLS593iMNg27aK5iIANobXP1dUFx61uvfdjv5rc_P36xBeGnq5U7",
            "x5c": ["MIIB/zCCAWGgAwIBAgIhAJycdCmyiVg3K7x4FMS4QkL1tHHEDVezzmiwo/Ymmj1wMAoGCCqGSM49BAMEMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwHhcNMTcxMjA1MDM1NjI4WhcNMTgxMjA1MDM1NjM3WjAhMR8wHQYDVQQDDBZveEF1dGggQ0EgQ2VydGlmaWNhdGVzMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBjcImMMVaXGfYzOt1Ls5Py5oaaGyw1MaCJFPYPMRrdr3rbcsWkzPDpO/NEI6bXVxRFaUgvCGv0dnDqckStZhNxcQBIew+YxYUmrdtIGLF5Ifd7pNvBEx62g6HAAOUtLn3eIw2DbtormIgA2htc/V1QXHrW6992O/mtz8/frEF4aerlTujJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADAKBggqhkjOPQQDBAOBiwAwgYcCQgCs5z85q49uoGlOBgnziTSMCp5N2zEQqSlQjFrhf/Kje7TFtKrntjrIx1mIS8YxOGbm12APh+BB4H7lPBoeNmQ/NwJBfw+YndSgJeikDtnGkoTkdqBNZlOLouzPG1s98PWFK4DD60fBmKfqLafaTE56jNMt0nHLi0ilEn4+WpiqF49c5bc="]
        },
        {
            "kid": "15efb0c3-11e0-4c99-a5d0-cc4810425e5a",
            "kty": "RSA",
            "use": "enc",
            "alg": "RS256",
            "exp": 1543982197534,
            "n": "r81HkdOLunPPf-pN2Ug_KcupiF2U6HCb1WXcqGAnNO8ihS3amYIuRil-LWw_BpRAzF23BgIi_A1Vs94alz5c_Dq93USPgCwzruJyeN_5wQV6Tlf1BiStYNgz3eFLtLQnLWhoshVoXPF41ibKTsVDyqv8JWkqAsUiqnpKx3qsAq6UlwkkkWlsOaNBnYQ0lKXhwjxRrgIpRqZYZQQfqkITv5xzqrq4KmX7RVb2vF_ZWhyDISduWVzpiBcReDzgzfQSrvPjm423_JajOIgCOOOGEY2IFXbBNnsxHeyreM9oj3OAcRkY2ywoQ33mANTrOj_ROvmfKGcErZO9tOxetp8sbw",
            "e": "AQAB",
            "x5c": ["MIIDAzCCAeugAwIBAgIgaT01xn+6lw4hSmhl/E2uk4YOR4FGFRHv41hcExsqANkwDQYJKoZIhvcNAQELBQAwITEfMB0GA1UEAwwWb3hBdXRoIENBIENlcnRpZmljYXRlczAeFw0xNzEyMDUwMzU2MjlaFw0xODEyMDUwMzU2MzdaMCExHzAdBgNVBAMMFm94QXV0aCBDQSBDZXJ0aWZpY2F0ZXMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvzUeR04u6c89/6k3ZSD8py6mIXZTocJvVZdyoYCc07yKFLdqZgi5GKX4tbD8GlEDMXbcGAiL8DVWz3hqXPlz8Or3dRI+ALDOu4nJ43/nBBXpOV/UGJK1g2DPd4Uu0tCctaGiyFWhc8XjWJspOxUPKq/wlaSoCxSKqekrHeqwCrpSXCSSRaWw5o0GdhDSUpeHCPFGuAilGplhlBB+qQhO/nHOqurgqZftFVva8X9laHIMhJ25ZXOmIFxF4PODN9BKu8+Objbf8lqM4iAI444YRjYgVdsE2ezEd7Kt4z2iPc4BxGRjbLChDfeYA1Os6P9E6+Z8oZwStk7207F62nyxvAgMBAAGjJzAlMCMGA1UdJQQcMBoGCCsGAQUFBwMBBggrBgEFBQcDAgYEVR0lADANBgkqhkiG9w0BAQsFAAOCAQEANybr0rnJZl7vnJ414kbFTbU9QIP7qSzLqoHHDpqYxhnQA+2mHOlTzd0KMUQHGIHdVZejCwKnMOmLNLzzx9ROgSAcbc003s+LC5zmh1E+G29azqu9eHh32YSP9l+xKR43dTC9OkLYpEjOFzYnGpnZJ40yJTLkUM5r110Zz/J87v0I24RKn8sEILLVOsOcSpYroPIafmTdZ/M1BWwVC+ez1897E0vUNltbDKHUWc1UuPANoAvto2uUuYPKPEOkj/fw+DMeVx2+oqWxyxk5r9Ppov76uO6rwz5v7u5h+RHH0uuxcIYTNbsl+TelgJymIs82o+FjSAi1B6fyoMxabjQslQ=="]
        }
    ]},
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21C7FC.6047.8804.FA12&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=b6faaf90-196a-4efb-8ebc-445a2bc4b07d&nonce=7f59e03d-32a1-4047-b94c-16bd2961f8d0
06:20:10.673 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:732b8e21-f02a-43e8-b662-7ca476ed6044
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21C7FC.6047.8804.FA12&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=b6faaf90-196a-4efb-8ebc-445a2bc4b07d&nonce=7f59e03d-32a1-4047-b94c-16bd2961f8d0

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm?code=ad6928bf-d3fc-4887-b687-68a7c54bc4aa&scope=openid&session_id=f2a97fea-1574-40b4-ac3b-5a5fca6afcf1&state=b6faaf90-196a-4efb-8ebc-445a2bc4b07d&session_state=732b8e21-f02a-43e8-b662-7ca476ed6044

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: ce-dev4.gluu.org

grant_type=authorization_code&code=ad6928bf-d3fc-4887-b687-68a7c54bc4aa&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjQ4YmZhOGE0LWM4YTctNGEwOS1hZTk4LWJmMzI1ZDc0OTExOSJ9.eyJpc3MiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCFDN0ZDLjYwNDcuODgwNC5GQTEyIiwic3ViIjoiQCEzOEQ0LjQxMEMuMUQ0My44OTMyITAwMDEhMzdGMi5CNzQ0ITAwMDghQzdGQy42MDQ3Ljg4MDQuRkExMiIsImF1ZCI6Imh0dHBzOi8vY2UtZGV2NC5nbHV1Lm9yZy9veGF1dGgvcmVzdHYxL3Rva2VuIiwianRpIjoiMzdlNjIxZGQtMjFmNC00NTI3LTg2OTEtMWJhM2NiOGVhNzMxIiwiZXhwIjoxNTMxMTMxOTExLCJpYXQiOjE1MzExMzE2MTF9.K91f5iZGXPhC1gFHoRnWeTpVvFbZLvQHUvo_VbWBXK82sxzz3YW6k5JpqmagF4424bl08zS0PEjz_MG6oZk6ZqQpilOQoqwtwiKD9x3KGahklTbRQXVIw-4EecGlpieJx5ZlNokTeTb-qELqpDUz83LeknbSD_COFRDfgKqun8alqrex5_E655NFnR7FWRyZZue84t_RY4K2iCWU1ZvzF74PS379N5ZfpHyRExChfLlI0AM1Qd8xiJwGscORqDwUSpn_Fii9_kiHQJQ7Lsi-zrJUC4d6sPVZKTD_CLlBsHZNEQ3E16FPacSUhd_g3D_MisFz0qNP5nffUPF5qw-rzw

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1057
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:45 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{"access_token":"f2e9a691-93a3-4f39-8f30-fb870af4537f","token_type":"bearer","expires_in":299,"refresh_token":"2a0fd8b1-3131-47fc-af9f-a4fc993985a9","id_token":"eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCFDN0ZDLjYwNDcuODgwNC5GQTEyIiwiZXhwIjoxNTMxMTM1MTg1LCJpYXQiOjE1MzExMzE1ODUsIm5vbmNlIjoiN2Y1OWUwM2QtMzJhMS00MDQ3LWI5NGMtMTZiZDI5NjFmOGQwIiwiYXV0aF90aW1lIjoxNTMxMTMxNTg1LCJhdF9oYXNoIjoiQ2hUaTV0bEdEdGZDVENPOFUyRUJ4ZyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6IjlaUTkzTjdQWU44Ml9QRk82Y0Zic3V6REtRNDFPSHV0TmlmTXFLZEVNUzQifQ.ZoSY36Cucmz9zEGb_soas5iFC1rkb4yFgcKgyGYxKuStCF_rT3my3R_Dkk6sfYI2LF7gsjN7siIDIjNXrvdxLHYIBRRdzkUx2gXUROCKikWnf742nZ3yw0E0g6j1T-l0_NnrUwoL2qR5qWDEfaOR5Bi50NfZQ3z6IWlTFbHHyonn7p-emJFVi-lT9v8wXj0U5DnhapHd_R3QOBo9Yc7daOuTGLgnVNaGc2r1yBL5qvYns8A9gTPg5A-kzGV4VwmEjuhF5GFu9HTy4OsY8iqsKas37Uk6u654K57AtAmdbrT5MvZvXMaZpdYf3fWh-GLkssGFBeiUV283uSsbEy37hA"}

#######################################################
TEST: opRegistrationJwksUri
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": ["code"],
    "grant_types": ["authorization_code"],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "token_endpoint_auth_method": "private_key_jwt",
    "post_logout_redirect_uris": ["https://client.example.com/pl"]
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1319
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:45 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!699D.CB44.B6FC.DBB1",
    "client_secret": "1249599a-1078-422a-8144-0de419730d6e",
    "registration_access_token": "0174789b-272c-45f3-8715-16303219d59c",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!699D.CB44.B6FC.DBB1",
    "client_id_issued_at": 1531131585,
    "client_secret_expires_at": 1531217985,
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": ["code"],
    "grant_types": [
        "refresh_token",
        "authorization_code"
    ],
    "application_type": "web",
    "contacts": [
        "javier.rojas.blum@gmail.com",
        "javier@gluu.org"
    ],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "private_key_jwt",
    "require_auth_time": false,
    "post_logout_redirect_uris": ["https://client.example.com/pl"],
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21699D.CB44.B6FC.DBB1&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=2b6be836-a6a9-4957-bd15-3bb249520273&nonce=2ddd460f-f688-4456-a746-0ff668b371ef
06:20:11.762 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:f92b1ef7-fda9-4438-b180-05feeb106fa1
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21699D.CB44.B6FC.DBB1&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=2b6be836-a6a9-4957-bd15-3bb249520273&nonce=2ddd460f-f688-4456-a746-0ff668b371ef

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm?code=93ba2e40-3456-47e0-946f-16a33f5f3c2d&scope=openid&session_id=7d8e5c23-88f3-45c3-bda5-a4e8fd5e9452&state=2b6be836-a6a9-4957-bd15-3bb249520273&session_state=f92b1ef7-fda9-4438-b180-05feeb106fa1

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: ce-dev4.gluu.org

grant_type=authorization_code&code=93ba2e40-3456-47e0-946f-16a33f5f3c2d&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer&client_assertion=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjQ4YmZhOGE0LWM4YTctNGEwOS1hZTk4LWJmMzI1ZDc0OTExOSJ9.eyJpc3MiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCE2OTlELkNCNDQuQjZGQy5EQkIxIiwic3ViIjoiQCEzOEQ0LjQxMEMuMUQ0My44OTMyITAwMDEhMzdGMi5CNzQ0ITAwMDghNjk5RC5DQjQ0LkI2RkMuREJCMSIsImF1ZCI6Imh0dHBzOi8vY2UtZGV2NC5nbHV1Lm9yZy9veGF1dGgvcmVzdHYxL3Rva2VuIiwianRpIjoiNTk3NTRkOWQtNjQ5YS00MmE0LTlkMmUtMDQ2ZjYxYzlkMmZhIiwiZXhwIjoxNTMxMTMxOTEyLCJpYXQiOjE1MzExMzE2MTJ9.Wmp9yxz8jSlK1QDuS2VqYswekx-Ab_fS44yMOhzU4VfCgvvY4rVVvFPEHesJeYBeonY0iDMu3CdIY_NqTIP_gpnLhPxAHlPNpO6JEWajTknQOmHCaXaBoKln9pr9pVdH9Vvaf_wbhfXHT7saOxqVXQi7gjSq72QFsHHD5n0EiGkZb8Nc0LKuslsAG7rjlePoe_28jUEfniLjGJ7VUIYPYLZBUSpw9GvxqEryIO8vCL9-7eeDobTz2660ACdlbOPD9BUxb5WE2mqeVWnwylara7TvwZKGDycRy6xV_DUSL3QlWshoZBhQF3_8OulpPCuoOupXDb4KYVOJ1xlcGM5AWQ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1057
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:46 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{"access_token":"8461ada4-3993-4f29-a330-ad71e9fcd0e9","token_type":"bearer","expires_in":299,"refresh_token":"e1b820cd-ac3d-4e6c-a330-a19febdf6431","id_token":"eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCE2OTlELkNCNDQuQjZGQy5EQkIxIiwiZXhwIjoxNTMxMTM1MTg2LCJpYXQiOjE1MzExMzE1ODYsIm5vbmNlIjoiMmRkZDQ2MGYtZjY4OC00NDU2LWE3NDYtMGZmNjY4YjM3MWVmIiwiYXV0aF90aW1lIjoxNTMxMTMxNTg2LCJhdF9oYXNoIjoiNDdleVhIZkxQWkFpQnkwU2dxZHFCdyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6Ilhzc1VOQnBOYnlWUWtvTUZVUl9FT1ctakRvV29abUhIaFRmRzBXbFJxLVkifQ.cq5-AsKR2nLmaoXfqfacDapLpSgeGf4aqDz_Qaj9It63cUbFuy52xF29wHhbE7i82EuddKMW2jGzN4LnmjVrqWjo9MRw9B8cN0DEf6kEaENzhFUwZvnCrx0MjBYdF3AUmNBnXsF8VDSQgBI7cM1A_tSVLFDYKj03VhjmWRVLl-9GvPnxhf3yzcIefa03xx_Hph_xT-BzhJbtAQ0a61g8CGi8ACySJ83ppSSpSw2HjwvRx3lneYJtnyfQlrDVAaVFpNBfSRE_C8FJReGh8dz5_hI2TEFCBn383hi6WGV3MXr9B9QTj6dC2-h-BOkczGjJmNcQVh3RwSHsqlsaaIioeA"}

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:46 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:46 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: providingAcrValues
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": [
        "code",
        "id_token"
    ],
    "grant_types": [
        "authorization_code",
        "implicit"
    ],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1326
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:46 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!4FD6.2045.676B.8D05",
    "client_secret": "728f873d-309f-4331-8f4b-fad4b0e43ebb",
    "registration_access_token": "57d3f02d-e92b-40be-9156-8daaaf2b1377",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!4FD6.2045.676B.8D05",
    "client_id_issued_at": 1531131586,
    "client_secret_expires_at": 1531217986,
    "redirect_uris": ["https://ce-dev4.gluu.org/oxauth-rp/home.htm"],
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "grant_types": [
        "refresh_token",
        "implicit",
        "authorization_code"
    ],
    "application_type": "web",
    "contacts": [
        "javier.rojas.blum@gmail.com",
        "javier@gluu.org"
    ],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%214FD6.2045.676B.8D05&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=caac57fd-a7ba-4c7b-96cc-daf477735211&nonce=284150e2-0fa0-4040-83e6-0ec0ae6b16a1&acr_values=basic
06:20:12.979 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:a497397f-6170-4791-aefe-ae812b6a26a8
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%214FD6.2045.676B.8D05&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=caac57fd-a7ba-4c7b-96cc-daf477735211&nonce=284150e2-0fa0-4040-83e6-0ec0ae6b16a1&acr_values=basic

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#code=7318b44a-dad2-4e52-ad3b-969c7caafa9d&acr_values=basic&scope=openid&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCE0RkQ2LjIwNDUuNjc2Qi44RDA1IiwiZXhwIjoxNTMxMTM1MTg3LCJpYXQiOjE1MzExMzE1ODcsImFjciI6ImJhc2ljIiwiYW1yIjpbIjEwMCJdLCJub25jZSI6IjI4NDE1MGUyLTBmYTAtNDA0MC04M2U2LTBlYzBhZTZiMTZhMSIsImF1dGhfdGltZSI6MTUzMTEzMTU4NywiY19oYXNoIjoiSnN0Rm13bVgtSmFWLUpBNzZDVWRxZyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6Im9CcVlwVW9EX21YcHR4VGplSmtjR3prUXlUZUZCSFpQVFZNZnpRR0dVUGcifQ.CRnF6G-BF7nq9vg5579PZurGaNXXBitu_7t2GESmfKncIhKqHfnM0BXYuGn8GjKoeMv0AKeLclDQlNUgyT4Na5k-PKgUu1mFrXAfzxasMwwwCRZ5ew31xvBF6q7H2LgTAwMATE1AH0sZcvzL1-9ioxjzKyCnQ-OBGgReUqtZreJEy8wL-loI39oOO32lVjCfTHydXeqZioYacfj0SgLisHo5TZXZsMZDAk5HvIfKjnwny1JFUgTzzWQZG0eVcb5eVSwUN4e_4ullShgHxLuFpX4m_8FrLlMHqSB5BDvT2-BlkbYwLJ9UTTOiEXFMDxJR87KKs4vA3ySJzvXzpuH_Xg&session_id=442e0011-1421-46f9-a99a-9f196bca2fb9&state=caac57fd-a7ba-4c7b-96cc-daf477735211&session_state=a497397f-6170-4791-aefe-ae812b6a26a8

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:47 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:47 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Providing ID Token with Essential auth time Claim
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": [
        "token",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1340
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:47 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!8713.0103.D53B.82FB",
    "client_secret": "bf00a60b-6bf8-4c33-a564-76a4ce2d2886",
    "registration_access_token": "2904255c-e32c-4e5f-b91d-ca6f9e8ae19e",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!8713.0103.D53B.82FB",
    "client_id_issued_at": 1531131587,
    "client_secret_expires_at": 1531217987,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "id_token",
        "token"
    ],
    "grant_types": ["implicit"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=token+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%218713.0103.D53B.82FB&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=25a43922-7830-4dbc-9716-8a2b034283bb&nonce=120535ad-a6cb-48b7-921b-496a14cb008b&request=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyZXNwb25zZV90eXBlIjpbInRva2VuIiwiaWRfdG9rZW4iXSwiY2xpZW50X2lkIjoiQCEzOEQ0LjQxMEMuMUQ0My44OTMyITAwMDEhMzdGMi5CNzQ0ITAwMDghODcxMy4wMTAzLkQ1M0IuODJGQiIsInNjb3BlIjoib3BlbmlkIiwicmVkaXJlY3RfdXJpIjoiaHR0cHMlM0ElMkYlMkZjZS1kZXY0LmdsdXUub3JnJTJGb3hhdXRoLXJwJTJGaG9tZS5odG0iLCJzdGF0ZSI6IjI1YTQzOTIyLTc4MzAtNGRiYy05NzE2LThhMmIwMzQyODNiYiIsIm5vbmNlIjoiMTIwNTM1YWQtYTZjYi00OGI3LTkyMWItNDk2YTE0Y2IwMDhiIiwiY2xhaW1zIjp7InVzZXJpbmZvIjp7fSwiaWRfdG9rZW4iOnsiYXV0aF90aW1lIjp7ImVzc2VudGlhbCI6dHJ1ZX19fX0.a_dGFNB9uU8okWc2wJFf45YteqiipLFtCeZtxFhXyVs
06:20:14.211 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:a117ee51-4d82-427c-b85c-75d4d072faf0
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=token+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%218713.0103.D53B.82FB&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=25a43922-7830-4dbc-9716-8a2b034283bb&nonce=120535ad-a6cb-48b7-921b-496a14cb008b&request=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyZXNwb25zZV90eXBlIjpbInRva2VuIiwiaWRfdG9rZW4iXSwiY2xpZW50X2lkIjoiQCEzOEQ0LjQxMEMuMUQ0My44OTMyITAwMDEhMzdGMi5CNzQ0ITAwMDghODcxMy4wMTAzLkQ1M0IuODJGQiIsInNjb3BlIjoib3BlbmlkIiwicmVkaXJlY3RfdXJpIjoiaHR0cHMlM0ElMkYlMkZjZS1kZXY0LmdsdXUub3JnJTJGb3hhdXRoLXJwJTJGaG9tZS5odG0iLCJzdGF0ZSI6IjI1YTQzOTIyLTc4MzAtNGRiYy05NzE2LThhMmIwMzQyODNiYiIsIm5vbmNlIjoiMTIwNTM1YWQtYTZjYi00OGI3LTkyMWItNDk2YTE0Y2IwMDhiIiwiY2xhaW1zIjp7InVzZXJpbmZvIjp7fSwiaWRfdG9rZW4iOnsiYXV0aF90aW1lIjp7ImVzc2VudGlhbCI6dHJ1ZX19fX0.a_dGFNB9uU8okWc2wJFf45YteqiipLFtCeZtxFhXyVs

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#access_token=72bff1db-9903-4542-a3d4-0e9620f31242&scope=openid&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCE4NzEzLjAxMDMuRDUzQi44MkZCIiwiZXhwIjoxNTMxMTM1MTg5LCJpYXQiOjE1MzExMzE1ODksIm5vbmNlIjoiMTIwNTM1YWQtYTZjYi00OGI3LTkyMWItNDk2YTE0Y2IwMDhiIiwiYXV0aF90aW1lIjoxNTMxMTMxNTg4LCJhdF9oYXNoIjoiVTZpUGlMQ05JYVhkMGZKZF9lLVRBUSIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6IkppX2w4R2l4UEt5d2NoT0xIOGhHSjJTel91UlA0d0hMcTJ5VzVkU0FURjgifQ.AMZ5yFKwx83o8jLaMD4NJYR-WqToFSYarl6A1baBlchKliKk3NMBd-tpVDYzPz5OJ7UDVLn491gynpSRD17gLCj8PCDU0OV6Ig6ty4F2aKiBO5ozg-S-5mD8JJBEh5p2_nBTaM6VQQRCbaxwiw10zt4BXlN0i2kjPClnIuToeuNiZ0ns5qM8ccu5NbOGCroHJUCm87sXvw_6df_iM4WVga9oSmFGp5N4LYVi-3v7Z-Lce3jNSQ_1Rl0D_reJs9ni9jjmYpI6_NRY4rAw9ShpLMA04_5I7o-ZAmRruNNVlTl4zvqp28UW9GGsl8MG4SwGGLCv7Z2UBBDrfsTe65-J_Q&session_id=abfedaaf-60b7-4ff4-9179-f89c003d7837&state=25a43922-7830-4dbc-9716-8a2b034283bb&token_type=bearer&session_state=a117ee51-4d82-427c-b85c-75d4d072faf0&expires_in=299

#######################################################
TEST: OpenID Connect Discovery
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/webfinger?resource=acct%3Atest_user%40ce-dev4.gluu.org&rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 181
Content-Type: application/jrd+json;charset=iso-8859-1
Date: Mon, 09 Jul 2018 10:19:49 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "subject": "acct:test_user@ce-dev4.gluu.org",
    "links": [{
        "rel": "http://openid.net/specs/connect/1.0/issuer",
        "href": "https://ce-dev4.gluu.org"
    }]
}


OpenID Connect Configuration
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /.well-known/openid-configuration HTTP/1.1
Host: ce-dev4.gluu.org

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Connection: Keep-Alive
Content-Length: 6342
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:49 GMT
Keep-Alive: timeout=5, max=100
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "issuer": "https://ce-dev4.gluu.org",
    "authorization_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/authorize",
    "token_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/token",
    "userinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/userinfo",
    "clientinfo_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/clientinfo",
    "check_session_iframe": "https://ce-dev4.gluu.org/oxauth/opiframe",
    "end_session_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/end_session",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth/restv1/jwks",
    "registration_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/register",
    "id_generation_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/id",
    "introspection_endpoint": "https://ce-dev4.gluu.org/oxauth/restv1/introspection",
    "scopes_supported": [
        "permission",
        "clientinfo",
        "email",
        "user_name",
        "sub",
        "org_name",
        "address",
        "openid",
        "test_scope1",
        "work_phone",
        "phone",
        "profile",
        "mobile_phone",
        "test"
    ],
    "response_types_supported": [
        "code",
        "code id_token",
        "code id_token token",
        "id_token",
        "id_token token",
        "token",
        "code token"
    ],
    "grant_types_supported": [
        "urn:ietf:params:oauth:grant-type:uma-ticket",
        "client_credentials",
        "refresh_token",
        "implicit",
        "password",
        "authorization_code"
    ],
    "acr_values_supported": [
        "super_gluu",
        "u2f",
        "otp",
        "basic",
        "auth_ldap_server"
    ],
    "auth_level_mapping": {
        "-1": ["auth_ldap_server"],
        "50": ["otp"],
        "100": ["basic"],
        "10": ["u2f"],
        "15": ["super_gluu"]
    },
    "subject_types_supported": [
        "public",
        "pairwise"
    ],
    "userinfo_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "userinfo_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "userinfo_encryption_enc_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "id_token_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "id_token_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "request_object_signing_alg_values_supported": [
        "none",
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "request_object_encryption_alg_values_supported": [
        "RSA1_5",
        "RSA-OAEP",
        "A128KW",
        "A256KW"
    ],
    "request_object_encryption_enc_values_supported": [
        "A128CBC+HS256",
        "A256CBC+HS512",
        "A128GCM",
        "A256GCM"
    ],
    "token_endpoint_auth_methods_supported": [
        "client_secret_basic",
        "client_secret_post",
        "client_secret_jwt",
        "private_key_jwt"
    ],
    "token_endpoint_auth_signing_alg_values_supported": [
        "HS256",
        "HS384",
        "HS512",
        "RS256",
        "RS384",
        "RS512",
        "ES256",
        "ES384",
        "ES512"
    ],
    "display_values_supported": [
        "page",
        "popup"
    ],
    "claim_types_supported": ["normal"],
    "claims_supported": [
        "birthdate",
        "country",
        "name",
        "email",
        "email_verified",
        "given_name",
        "gender",
        "inum",
        "family_name",
        "updated_at",
        "locale",
        "member_of",
        "middle_name",
        "nickname",
        "oxAuthAppType",
        "oxAuthIdTokenSignedResponseAlg",
        "oxAuthRedirectURI",
        "oxAuthScope",
        "phone_number_verified",
        "picture",
        "preferred_username",
        "profile",
        "zoneinfo",
        "user_name",
        "website"
    ],
    "service_documentation": "http://gluu.org/docs",
    "claims_locales_supported": ["en"],
    "ui_locales_supported": [
        "en",
        "es"
    ],
    "scope_to_claims_mapping": [
        {"permission": []},
        {"uma_protection": []},
        {"clientinfo": [
            "name",
            "inum",
            "oxAuthAppType",
            "oxAuthIdTokenSignedResponseAlg",
            "oxAuthRedirectURI",
            "oxAuthScope"
        ]},
        {"email": [
            "email_verified",
            "email"
        ]},
        {"user_name": ["user_name"]},
        {"sub": []},
        {"org_name": []},
        {"address": [
            "formatted",
            "postal_code",
            "street_address",
            "locality",
            "country",
            "region"
        ]},
        {"openid": []},
        {"test_scope1": []},
        {"work_phone": []},
        {"phone": [
            "phone_number_verified",
            "phone_number"
        ]},
        {"profile": [
            "name",
            "family_name",
            "given_name",
            "middle_name",
            "nickname",
            "preferred_username",
            "profile",
            "picture",
            "website",
            "gender",
            "birthdate",
            "zoneinfo",
            "locale",
            "updated_at"
        ]},
        {"mobile_phone": ["phone_mobile_number"]},
        {"test": ["member_of"]}
    ],
    "claims_parameter_supported": true,
    "request_parameter_supported": true,
    "request_uri_parameter_supported": true,
    "require_request_uri_registration": false,
    "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy",
    "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos",
    "frontchannel_logout_supported": true,
    "frontchannel_logout_session_supported": true
}


#######################################################
TEST: OC5:FeatureTest-Providing ID Token with max age Restriction
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": ["code"],
    "grant_types": ["authorization_code"],
    "application_type": "web",
    "contacts": ["javier@gluu.org"],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "subject_type": "public",
    "default_max_age": "3600",
    "require_auth_time": "true",
    "post_logout_redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ]
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1588
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:49 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!09E1.AED7.7E8A.040A",
    "client_secret": "211f2e16-e66c-4a59-9e34-e4848a30f7ff",
    "registration_access_token": "3fbd79a9-263a-4a0e-a6a7-47f1b12285c5",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!09E1.AED7.7E8A.040A",
    "client_id_issued_at": 1531131589,
    "client_secret_expires_at": 1531217989,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": ["code"],
    "grant_types": [
        "refresh_token",
        "authorization_code"
    ],
    "application_type": "web",
    "contacts": ["javier@gluu.org"],
    "client_name": "oxAuth test app",
    "jwks_uri": "https://ce-dev4.gluu.org/oxauth-client/test/resources/jwks.json",
    "subject_type": "public",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "default_max_age": 3600,
    "require_auth_time": true,
    "post_logout_redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%2109E1.AED7.7E8A.040A&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=27272ae0-74c0-4130-b287-2550173a7da8
06:20:15.498 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:0a2ee69c-e0af-4f1c-93e3-0101dfb726c1
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%2109E1.AED7.7E8A.040A&scope=openid&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=27272ae0-74c0-4130-b287-2550173a7da8

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm?code=d200ddc8-1b52-4dd3-92b9-eb410a73fa11&scope=openid&session_id=0bf841f6-cf3b-434a-975c-ab6af9c919c6&state=27272ae0-74c0-4130-b287-2550173a7da8&session_state=0a2ee69c-e0af-4f1c-93e3-0101dfb726c1

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: ce-dev4.gluu.org
Authorization: Basic JTQwJTIxMzhENC40MTBDLjFENDMuODkzMiUyMTAwMDElMjEzN0YyLkI3NDQlMjEwMDA4JTIxMDlFMS5BRUQ3LjdFOEEuMDQwQToyMTFmMmUxNi1lNjZjLTRhNTktOWUzNC1lNDg0OGEzMGY3ZmY=

grant_type=authorization_code&code=d200ddc8-1b52-4dd3-92b9-eb410a73fa11&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1011
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:19:50 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{"access_token":"d7e38b1b-3cce-41be-bd75-be1c8516c24a","token_type":"bearer","expires_in":299,"refresh_token":"4f6c94c3-085e-4eee-a251-247d1e788a63","id_token":"eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCEwOUUxLkFFRDcuN0U4QS4wNDBBIiwiZXhwIjoxNTMxMTM1MTkwLCJpYXQiOjE1MzExMzE1OTAsImF1dGhfdGltZSI6MTUzMTEzMTU5MCwiYXRfaGFzaCI6InlINlpOaTh0aFpLV1c3ZnNTNjl0eFEiLCJveE9wZW5JRENvbm5lY3RWZXJzaW9uIjoib3BlbmlkY29ubmVjdC0xLjAiLCJzdWIiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwMCFCMUYzLkFFQUUuQjc5OCJ9.fzyOUqgUJxsFdI8SIgrmO0z-xd-QMc8fg4RCw6rXEWM8SAx0MqCz4DVLVK7jK5Srg9kjMMjziRkwVUNk3U1HknsRZeptNTp75LCR8IMISJE4N8RJQZCywwYLcHzTJePGRAzvsokM_jtL_rub_xWX5ZPs0woio6PKE44DxuLbpBAU51CK2wxNZXd8OFVU6BKHLTAqcGLCphdHUWW2jHNZTUBBgXYjdjHy4VyCRikP07QGHcvdfLXicPKZvkBto5VsqkvXXh3e9Y5zszUJsvaVReuC7xgDgWWsJ-gh7YgJ8h2NSDkcrMpbzk1HPVJ7VPg6VukJ2yStnFara6f2QGmuYg"}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%2109E1.AED7.7E8A.040A&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=3d3e2164-f50d-488c-bf36-93d7d90e596a&max_age=30&session_id=0bf841f6-cf3b-434a-975c-ab6af9c919c6
06:21:16.587 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:0d467534-d905-43bd-ba4d-cd9c207f7826
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%2109E1.AED7.7E8A.040A&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=3d3e2164-f50d-488c-bf36-93d7d90e596a&max_age=30&session_id=0bf841f6-cf3b-434a-975c-ab6af9c919c6

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm?code=73ae2830-b2d2-4445-bc6f-31d54f12ca29&scope=address+openid+profile+email&session_id=ac6e19bf-69df-4016-bdf6-f27fa81a1b1b&state=3d3e2164-f50d-488c-bf36-93d7d90e596a&session_state=0d467534-d905-43bd-ba4d-cd9c207f7826

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: ce-dev4.gluu.org
Authorization: Basic JTQwJTIxMzhENC40MTBDLjFENDMuODkzMiUyMTAwMDElMjEzN0YyLkI3NDQlMjEwMDA4JTIxMDlFMS5BRUQ3LjdFOEEuMDQwQToyMTFmMmUxNi1lNjZjLTRhNTktOWUzNC1lNDg0OGEzMGY3ZmY=

grant_type=authorization_code&code=73ae2830-b2d2-4445-bc6f-31d54f12ca29&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1011
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:20:51 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{"access_token":"66c5a728-4bc9-4ca1-baf0-388cefd69a6c","token_type":"bearer","expires_in":299,"refresh_token":"1d2edc67-563b-4547-a968-4d167c0a3514","id_token":"eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCEwOUUxLkFFRDcuN0U4QS4wNDBBIiwiZXhwIjoxNTMxMTM1MjUxLCJpYXQiOjE1MzExMzE2NTEsImF1dGhfdGltZSI6MTUzMTEzMTY1MSwiYXRfaGFzaCI6IkdhU2VPbTRBYWpzU0lscXU4WXhCVVEiLCJveE9wZW5JRENvbm5lY3RWZXJzaW9uIjoib3BlbmlkY29ubmVjdC0xLjAiLCJzdWIiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwMCFCMUYzLkFFQUUuQjc5OCJ9.GToMD0VvEFHJy33siqhNBUIZsRXNJzN68YR-Var4uhsDraB4JSx4vZC361WB_Sd4io1XG6rlnraQZqGrrgBfR7VE5-DpmFHc-kiKmg4MRH4pFMHRIDoAN6-UXCYGa8HRg34jOvyBL9Llqb29k8fTyXzPtZA1mK64nQoCAwof8vhVBkNSUTO79LW-IyaIiNxC8iWz5eeTMNjhW1I_UwNo8E1Z_joBvmgUYIfpTX1NRtuzODCpbReqgZc54asczvoXd3khPuxq9K2C_54mvlNHxYUhhMYyIiFlB5OqCv7d_K-q7-3FxU6HZkpG000E-ZVyaC2pO6kahws9ZMNfNf6SYA"}

#######################################################
TEST: OC5:FeatureTest-Providing ID Token with max age Restriction (JWT Authorization Request)
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: ce-dev4.gluu.org

{
    "redirect_uris": [
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm",
        "https://client.example.com/cb",
        "https://client.example.com/cb1",
        "https://client.example.com/cb2"
    ],
    "response_types": [
        "code",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1425
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:20:51 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{
    "client_id": "@!38D4.410C.1D43.8932!0001!37F2.B744!0008!A131.1857.5EB4.FAE6",
    "client_secret": "2b123807-0b6d-4735-b329-3686403a0cc0",
    "registration_access_token": "be7df962-cdae-4362-8713-5887db5d5f3f",
    "registration_client_uri": "https://ce-dev4.gluu.org/oxauth/restv1/register?client_id=@!38D4.410C.1D43.8932!0001!37F2.B744!0008!A131.1857.5EB4.FAE6",
    "client_id_issued_at": 1531131651,
    "client_secret_expires_at": 1531218051,
    "redirect_uris": [
        "https://client.example.com/cb2",
        "https://client.example.com/cb1",
        "https://client.example.com/cb",
        "https://ce-dev4.gluu.org/oxauth-rp/home.htm"
    ],
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "grant_types": [
        "refresh_token",
        "implicit",
        "authorization_code"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://ce-dev4.gluu.org/oxauth/sectoridentifier/@!38D4.410C.1D43.8932!0001!37F2.B744!0012!D426.70FD",
    "subject_type": "pairwise",
    "id_token_signed_response_alg": "RS256",
    "token_endpoint_auth_method": "client_secret_basic",
    "require_auth_time": false,
    "frontchannel_logout_session_required": false,
    "scope": "permission uma_protection clientinfo email user_name sub org_name address openid test_scope1 work_phone phone profile test",
    "claims": ""
}

authenticateResourceOwnerAndGrantAccess: Cleaning cookies
authenticateResourceOwnerAndGrantAccess: authorizationRequestUrl:https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21A131.1857.5EB4.FAE6&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=8863bc09-e876-4d10-9e4b-97cf4a134f6b&nonce=4855fa0d-4daf-4854-926d-5c0aa6819359
06:21:17.785 [main] ERROR com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter - runtimeError: message=[An invalid or illegal selector was specified (selector: '*,:x' error: Invalid selector: :x).] sourceName=[https://ce-dev4.gluu.org/oxauth/js/jquery-1.12.4.min.js] line=[2] lineSource=[null] lineOffset=[0]
authenticateResourceOwnerAndGrantAccess: sessionState:93641b27-123b-476f-a138-31efb053fcc4
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://ce-dev4.gluu.org/oxauth/restv1/authorize?response_type=code+id_token&client_id=%40%2138D4.410C.1D43.8932%210001%2137F2.B744%210008%21A131.1857.5EB4.FAE6&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm&state=8863bc09-e876-4d10-9e4b-97cf4a134f6b&nonce=4855fa0d-4daf-4854-926d-5c0aa6819359

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://ce-dev4.gluu.org/oxauth-rp/home.htm#code=ed2acfaf-f974-44f9-9e70-1e362e99e9c2&scope=address+openid+profile+email&id_token=eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCFBMTMxLjE4NTcuNUVCNC5GQUU2IiwiZXhwIjoxNTMxMTM1MjUyLCJpYXQiOjE1MzExMzE2NTIsIm5vbmNlIjoiNDg1NWZhMGQtNGRhZi00ODU0LTkyNmQtNWMwYWE2ODE5MzU5IiwiYXV0aF90aW1lIjoxNTMxMTMxNjUyLCJjX2hhc2giOiJSNloyWlNFTno1a0hZRFVOOElMZE93Iiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwic3ViIjoiYU9XUlJKYWhTZnRSTTFwQW11SGFWbjdFd3FFSXMtQXJjYUdFTTVmMk1payJ9.hZ_e8blBwsY8fIVdykzteG68v3OkWJy_K_F7QNCcZddPWkdqsPxS3OFX7SOIeTxBUbTMrwq2KQslhqqaSVTIuO0sw_NNQckAu3RGVXKlEqE5celOHcpzqhmkwiy-fNgQRclNZze3e29Qs2UIR1GjFAdnH7LUIfvlRIOJTVPWyp8txkZw0C29TlZyT8queqkfc5tzpu5kfaaRZ-G1MXyYZNKTL7BUjX84axM4Q5SzQKMrP-7bjnAK9RhD1TDXAvPmVZV6hfxnEclw5_bD2VRt9WeMiWmcS-KsXkVW7H3gjOJv6PkMr8KmqrKGyXtBVvcMYpn5WLkUlGlsA5bO3Do2nw&session_id=0afcd460-05c0-4b3a-89e9-63041039eb6b&state=8863bc09-e876-4d10-9e4b-97cf4a134f6b&session_state=93641b27-123b-476f-a138-31efb053fcc4

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/restv1/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: ce-dev4.gluu.org
Authorization: Basic JTQwJTIxMzhENC40MTBDLjFENDMuODkzMiUyMTAwMDElMjEzN0YyLkI3NDQlMjEwMDA4JTIxQTEzMS4xODU3LjVFQjQuRkFFNjoyYjEyMzgwNy0wYjZkLTQ3MzUtYjMyOS0zNjg2NDAzYTBjYzA=

grant_type=authorization_code&code=ed2acfaf-f974-44f9-9e70-1e362e99e9c2&redirect_uri=https%3A%2F%2Fce-dev4.gluu.org%2Foxauth-rp%2Fhome.htm

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Cache-Control: no-store
Connection: Keep-Alive
Content-Length: 1057
Content-Type: application/json
Date: Mon, 09 Jul 2018 10:20:52 GMT
Keep-Alive: timeout=5, max=100
Pragma: no-cache
Server: Jetty(9.4.9.v20180320)
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Xss-Protection: 1; mode=block

{"access_token":"b5970f1a-784e-4b44-a72d-ddd594e80b0b","token_type":"bearer","expires_in":299,"refresh_token":"c4b196e4-0861-4273-abf0-8afd4f1a98f6","id_token":"eyJraWQiOiI4NzE2OGJjMS1lNTU4LTQxNjktOGRkMS05ZmJkNDUxZGU1ZDciLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NlLWRldjQuZ2x1dS5vcmciLCJhdWQiOiJAITM4RDQuNDEwQy4xRDQzLjg5MzIhMDAwMSEzN0YyLkI3NDQhMDAwOCFBMTMxLjE4NTcuNUVCNC5GQUU2IiwiZXhwIjoxNTMxMTM1MjUyLCJpYXQiOjE1MzExMzE2NTIsIm5vbmNlIjoiNDg1NWZhMGQtNGRhZi00ODU0LTkyNmQtNWMwYWE2ODE5MzU5IiwiYXV0aF90aW1lIjoxNTMxMTMxNjUyLCJhdF9oYXNoIjoibDRlM1pvX0tUVEdSYVpqekwxNE1IdyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCIsInN1YiI6ImFPV1JSSmFoU2Z0Uk0xcEFtdUhhVm43RXdxRUlzLUFyY2FHRU01ZjJNaWsifQ.YUgwEZA4WlFc8na-GD5j7SxKkuS0eFT1rgLfN_sPOQQoUP8EDuVJTvZf3tSDfpplgbPd6uuQGTx0YC-H5qn672a_nBOsnVw9oxEJtI72n292kDslTJzsp3P2hTt5-kK9Ht6XcE44B6c_6urT_KS8iqZCgfcyXuzgELxJ8bdYlUpElzLLdBc_05TZ6QkCflixUbpS5OCTtskQyigRb3HZxSkyXKfBcWmzZsYhQcM7hN-F-G45KL91ucwEHJeUL6KZRnLJjmtR9e9i9Wo8qTZIknGW06GCEjXt7V6wEANpqKv9S8NUscRLeKR3rHbFTyZWzHTg_2IAeJ_rSreXTy_zfA"}

Build was aborted
Aborted by Yuriy Movchan
[FINDBUGS] Skipping publisher since build result is ABORTED
Publishing Javadoc
Build Aborted. Not looking for any TestNG results.
Finished: ABORTED