OC5:FTR-op-ui-sign-x-Gluu OX

From OSIS Open Source Identity Systems
Jump to: navigation, search

{{#vardefine:DtArticleSortKey|}}

FTR-op-ui-sign-x-Gluu OX

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FTR-op-ui-sign-x-Gluu OX}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:FTR-op-ui-sign-x-Gluu OX|{{#if:{{#var:DtArticleSortKey}}||}}}}{{#ifeq:{{#var:header}}|no||

{{#ifeq:no|no||
{{#if:{{#var:refs}}|[[{{#var:page}}|no_ref's]]|[[Special:Call/DT Article show Refs,page={{#var:page}},refs=yes|ref's]]}}}} {{#if:{{#var:DtArticleSortKey}}|({{#var:DtArticleSortKey}})}}    list help  [[Special:Call/DT Article copy,cat=OC5 Result,from={{#var:page}},namespace=OC5|copy]]  [[Special:Call/DT Articles list XML,type=OC5 Result,title={{#var:page}},namespace=OC5|as XML]]  edit
}}
{{#if:|Feature Test Result |Feature Test Result }}   FTR-op-ui-sign-x-Gluu OX
Test Identifier   bgcolor={{{color}}}}}|FTR-op-ui-sign
Primary Solution   bgcolor={{{color}}}}}|Gluu OX
Test   bgcolor={{{color}}}}}|{{#dpl:|category = FeatureTest|namespace = OC5|include={FeatureTest}:identifier |includematchparsed=/identifier\s*=\s*FTR-op-ui-sign/s| noresultsheader= no matching test found.\n

}}

Date Tested   bgcolor={{{color}}}}}|28 August 2013
Tested by   bgcolor={{{color}}}}}|Javier Rojas Blum
Outcome   bgcolor={{{color}}}}}|Works
Solutions Involved   bgcolor={{{color}}}}}|{{#if: Gluu_OX | OC5:Gluu_OX | }} {{#if: | [[OC5:]] | }}  
  bgcolor={{{color}}}}}|{{#if: | [[OC5:]] |   }}
Operating System   bgcolor={{{color}}}}}|Fedora 18 x86_64
Browser   bgcolor={{{color}}}}}|Firefox 22.0
Notes   bgcolor={{{color}}}}}|https://svn.gluu.info/repository/openxdi/oxAuth/Client/src/test/java/org/xdi/oxauth/interop/CanProvideSignedUserInfoResponse.java
#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response HS256
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "HS256"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!05A4.4CE5",
    "client_secret": "54db4a6d-ab0c-4fb1-9017-66fd3e0db939",
    "registration_access_token": "9d2c13f2-1d5c-4430-98d6-578c7817bac4",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!05A4.4CE5",
    "client_id_issued_at": 1377721073,
    "client_secret_expires_at": 1377807473,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "HS256",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%2105A4.4CE5&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=b69f212b-642d-4cfd-ac81-337d7a90e0a1&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=ef82a282-287f-4eec-a409-56872872fa17&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEwNUE0LjRDRTUiLCJleHAiOjEzNzc3MjQ2ODIsImlhdCI6MTM3NzcyMTA4Miwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImI2OWYyMTJiLTY0MmQtNGNmZC1hYzgxLTMzN2Q3YTkwZTBhMSIsImF1dGhfdGltZSI6MTM3NzcyMTA3OCwiYXRfaGFzaCI6IklvTGp6Uy01MV85YWo4bFB0NFIxVEEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.GRr_DPs1JVDHLJsxrPcda-xwXXXQ6GEth58047YW-9_w16OHm_NgXYAdJzA56pyuW4H5RpEEPI5ZT2Qxc3CzQf1yTA0Dnydv_ksAjLd715LlNRDv3oeO_3m65Et07tEwwJPgxCdTdayF-jlTzvxiTOhZzlzzcdjOmTOYyaXJ988wpFFLo3DtqXtvx5AzuCt4Db7RyDf82lmlYs75kYc6offMSGXhIr4O8wNXXGXn-JMBSbOGSKF0W_KCgPcQtcUWakXk6Wff1txJ0cY9Zzt9eVTdV6NU1U5VM4HliGCRA0ec0780aL9NLrq33wcsws5G-IKlQAdy7OTWbOJSHjRgxw&auth_level=10&auth_mode=basic&session_id=7158580b-ebce-4854-8a2d-e2566ad38777&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer ef82a282-287f-4eec-a409-56872872fa17

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.yGSc1N8m2_HSEPWCLwvBCewyJnFpno1h95AdCgJJuT0

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response HS384
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "HS384"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!44E7.28B4",
    "client_secret": "4c8b8538-1002-487f-ace2-959f993893af",
    "registration_access_token": "e06406b9-dbe8-4a55-a026-e3f77b6ff216",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!44E7.28B4",
    "client_id_issued_at": 1377721086,
    "client_secret_expires_at": 1377807486,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "HS384",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%2144E7.28B4&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=14e7cff4-2cae-4f12-a8ed-13edbc4df699&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=3d236fc1-f0b3-4a65-88e2-9d35c1390f47&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0NEU3LjI4QjQiLCJleHAiOjEzNzc3MjQ2OTYsImlhdCI6MTM3NzcyMTA5Niwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjE0ZTdjZmY0LTJjYWUtNGYxMi1hOGVkLTEzZWRiYzRkZjY5OSIsImF1dGhfdGltZSI6MTM3NzcyMTA5MiwiYXRfaGFzaCI6Imh5R3p6Rm82WV9VUzRMYUM5QUZyblEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.UJ9t-GkYzu_NVKw6PqPN09VyUDnEIjYkM82zOc2KjsA7Dk9woYMzFjQkfrX853P88cKXF2AScre4L9k68RUXIUvmFpKiRPps34piEbeZAXL0s_drpcA1LHOfm4766BbhI6T5CXHMbfbAXHkYfZbNRaQ4PnuFLO2-otQlfMiIXJ-T9v8a9Wg9kZOmJgb8OP5r-0Uy1W_FrcVOY16I2F9CX6BkxbeMFV_Eo_nHQB99o5XYlFbms_Xj7VgGKqNnxpAhqSJe7DjEvx8iY7EEQ6UiOdkZE7tvTT8RYCGn3xzeGLCvWV6InlV251edWFY_Vm5ol9-3PdIfsslr9oNs2lCG6w&auth_level=10&auth_mode=basic&session_id=cffa0f9e-ee5c-4343-8e28-54eac6a3a170&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 3d236fc1-f0b3-4a65-88e2-9d35c1390f47

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.WLTmrRdbpXcWLKMmtZgRb6stJtNYosdeVvwcDiZU98k54f2ZwSYZSqDTEO7witXe

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response HS512
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "HS512"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!4265.540F",
    "client_secret": "f59fe7db-4771-4e03-8ae1-93aba9e6189f",
    "registration_access_token": "96881f52-9aa1-411d-b402-eba000f56c9a",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!4265.540F",
    "client_id_issued_at": 1377721101,
    "client_secret_expires_at": 1377807501,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "HS512",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%214265.540F&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=cd451f66-0bd0-4c19-944b-6603074dea95&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=8ec7fea4-ec9a-4309-b6ae-f069abec017f&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0MjY1LjU0MEYiLCJleHAiOjEzNzc3MjQ3MTEsImlhdCI6MTM3NzcyMTExMSwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImNkNDUxZjY2LTBiZDAtNGMxOS05NDRiLTY2MDMwNzRkZWE5NSIsImF1dGhfdGltZSI6MTM3NzcyMTEwNywiYXRfaGFzaCI6IjN0UWJYX1Vtdklmb0dXdTVfRTBCZEEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.gl3GYDk2A7Z1TPCzvgWfT0iK-C2ZCEdfx3rWd-UmMpi8rtsZ-E5zxnKsM1q7UsFNoooKh1-NNXyjadqRWSfTLtMqgPIeJ41dS9SjZaUtmSpjx2Tdn832XlcEYjQR1Gl70XnsFFOU3-x251yURsT5V_183zZSKd4epbPKjn0vor-Fu8FC4dJZiYsbZP99ZEarOAhMy2Tos6KANl19yL1TNr3y11zEhyxCbjYWM-jqz982lqmZhiL2yTh13LJZrGpN0EozN439ntPuvzu8M3wjJyy72N_cwy-zcDZqER7scTh8_NJEcltQAf-adS94JeW1Jelhi8smySlLfav6gUcx4Q&auth_level=10&auth_mode=basic&session_id=006bb912-4365-4613-968e-a4a381f34b92&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 8ec7fea4-ec9a-4309-b6ae-f069abec017f

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.iDrb0JcZvSPLxkFvUNKNeGo6JQAtMYelCmfWcfTfKHuQfmby_r31IR9hVPi13-Mj2HPK18zKrO-aZvTWX701Ug

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response RS256
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "RS256"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!D9DE.EF99",
    "client_secret": "a37b73ad-11fc-40b4-90cf-ab3bf9469d26",
    "registration_access_token": "cd3b0c6b-b3c0-471b-903a-f2f53dff3e53",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!D9DE.EF99",
    "client_id_issued_at": 1377721116,
    "client_secret_expires_at": 1377807516,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "RS256",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%21D9DE.EF99&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=4af68846-a0ff-4a70-aac6-036e3471c014&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=0986ba57-28a7-43cf-ace2-04949381cff0&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFEOURFLkVGOTkiLCJleHAiOjEzNzc3MjQ3MjUsImlhdCI6MTM3NzcyMTEyNSwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjRhZjY4ODQ2LWEwZmYtNGE3MC1hYWM2LTAzNmUzNDcxYzAxNCIsImF1dGhfdGltZSI6MTM3NzcyMTEyMSwiYXRfaGFzaCI6ImlaMFRNQzlEdHJEQjVCRm9pT1QtRFEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.aLBoyJJHIvHL5nhqGK6AjbJX6omflOpolm_PTdj00RWVE-iYsDm5ZCv8lkVKHv8g1H_WZ2ivXAuL8TDCiv-rwvHsCml1LsVenCn4YACLhUHpAvuIgIWNXy_XHKlr4ZsqcqatuWMfCyiI7Fb8G7gS-K9mdA7fQ9416dqWgsJ3zRi6gPbwWWTeYmqmtBI6YbJHyo8WRagD7yuED0GbZ4n0ZSkvgEm6eVZCliUvG5TcJByS1rffWEoFX8ARLjumGm7WaQ-eLvAhaXzYyhpqyPa2KgRLyStO9UHiMVQU3P9gA26AXu0i83TW7Kdv96wHmJ6ebxRIZljBbpFGWPqbYePlxg&auth_level=10&auth_mode=basic&session_id=b59a5cf7-35f2-4660-b03a-cfd14889c675&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 0986ba57-28a7-43cf-ace2-04949381cff0

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.MrhZgazv6QK7DlVpovH9whHE89WtLJl3U4jLiwykOq1_UbGimErQLUzXrnpYqeO-jrOUCqz7nIvp7OpRfzgo-OGKMrnC_PeRrLBurzc5GMNPU9GX8fNY-CN5FYiQEPh2JYtq4C67Bi0-TJ4miGgOtp8BU_NgQHNNqTgs2JenlT_VxqPP59HOJ2D6uq9_7Lx_p0w7Vn40AMSJMXPWoWkX0jCSU4fHdmGtLyToShJu9-A_r22R4vqiAEU5pPZ9zjTnTCJeMIXWbYYNmc_Gux_klW5FKBJ6ivP_nw1voYR4wmcdOYzDpHa88_c4ytpGzDD8ROkFGOQXb9nTQqlu8xYoLQ

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response RS384
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "RS384"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!A9E4.D80F",
    "client_secret": "c9f05b91-2b36-4bad-bc57-fd11dc4e61d5",
    "registration_access_token": "7cf4770a-2e3f-4d25-94ec-a89377301274",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!A9E4.D80F",
    "client_id_issued_at": 1377721131,
    "client_secret_expires_at": 1377807531,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "RS384",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%21A9E4.D80F&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=69600d69-e0a7-406f-a0d6-f7abfc575e72&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=14a214b3-6c64-46bc-9577-0f079afe64a3&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFBOUU0LkQ4MEYiLCJleHAiOjEzNzc3MjQ3MzksImlhdCI6MTM3NzcyMTEzOSwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjY5NjAwZDY5LWUwYTctNDA2Zi1hMGQ2LWY3YWJmYzU3NWU3MiIsImF1dGhfdGltZSI6MTM3NzcyMTEzNSwiYXRfaGFzaCI6InM4UkllblRqWTlEcUUwb2w4MGdHWlEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.a37ootNGM9PCXTuIirh6cqTs7AP9qU9DihwlsKFnN5DWxKIClgFN8E_wKUPNyxHhBp1Ucrd7dmhi19D0OSzIKzsA4a1mx6PLOEVhevaLCnWKlHWChMpLnS3HgoRX4tQFt0dYghNzVMX_wUvghiH13HZj6a9MSNQPm8TkQrwKTt767zoQw69HPLRrIyUfMOCx7c841lxKlQkdZzvdZ9pixmfrsig5RIXTHVHoLz50bdiTKaRfBX66BGyUOpnXDAyaaHP9M10con5HL72znmstjqrjasHHxfmK9Ms7oQTiIcJSNt5Z51GcvH2ERNCPw68WqzaAKLadMStej-0dSBK7mg&auth_level=10&auth_mode=basic&session_id=1ee26cc5-8734-4b24-a679-c3fa41505e99&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 14a214b3-6c64-46bc-9577-0f079afe64a3

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzM4NCIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIyIn0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.q5F7owcfvdyaFx-B7wvXPfRKpqrOqsclb2bPS9rszt92YJfqVXyH_ta0iSAq7fXu7bS1Rcvrk1ZBnxCI0aRIKMMOd8MEViFJbRlwiuxvkuo9ti1YzqeOAxhIiZ6FaFDdXC8ZFJPyxTvw65dcldr0VOW8GpBEOBR3vv4qlNZmyA1wi0EzRnABoRrZO7DsXjXqhaZFaQfONC3a7tdkqSJqis3oHY2vsk3I1bppYMy-m63TUp8AfOFtF4zHlMBXf-s2rRaElcp2t2yXFvpB-cmlzcOJtNvaKsAJxglJZmssaeMCa_SR89Do7SuCkg9iPaYZUK_ZN1jM-FwR5Ec0LWQSfQ

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response RS512
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "RS512"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!F6D0.8FD7",
    "client_secret": "41f7c5b5-c97b-4f63-aeb9-2d78a4f02b35",
    "registration_access_token": "0e0c952f-6d30-4614-89ae-3ae4d9f733f5",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!F6D0.8FD7",
    "client_id_issued_at": 1377721145,
    "client_secret_expires_at": 1377807545,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "RS512",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%21F6D0.8FD7&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=5603236b-8656-46b8-9df9-4cd840509086&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=82452924-8431-4d88-9f60-165154163fc5&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFGNkQwLjhGRDciLCJleHAiOjEzNzc3MjQ3NTQsImlhdCI6MTM3NzcyMTE1NCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjU2MDMyMzZiLTg2NTYtNDZiOC05ZGY5LTRjZDg0MDUwOTA4NiIsImF1dGhfdGltZSI6MTM3NzcyMTE1MSwiYXRfaGFzaCI6IjVVM0Z4eFpTeGdOWWlaaE00VHA1b0EiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.S2tUWwuIax3t14xyd9eYMZJZQqvjQ4wzlKoMNQU320HW7MoUwezQB9qqudHyaL265bLp94WoEHgAsf2rFVblk-kFGTEgixq9zI-Vy33hP4HJWFjyn4LaE27WeAo59gnb5o-NTbFw7cKKXYeSH7t9Zu4CglPmmWscXlAFD4TKvMxe1kgwpHI048pZpNszqBcMkA6Q7vSJT4HiYBLIcriZaOT27T_RH9soP-pF0eSDHnBe5s2u5bVf9q7U-ZRpM5tQ2mq4mjhBey4GphwyDkPcWcLbdTZH4Zl3NAkn5Pu02N55gRkefAaRYkVJvkRm3mbYJIN619T0ki8cMR9OfM-0tg&auth_level=10&auth_mode=basic&session_id=a20bb3db-8f0f-49b0-8374-37e0f8b1209e&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 82452924-8431-4d88-9f60-165154163fc5

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzUxMiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIzIn0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.iayKWSUqkIutrEyNyrmbnQ19T_E9l-t-5h8LebCtxwuNtxXSnwroOT5g7Yuc9FJLc-TLEDfA-xGGwAYLrjYa1JD_gW8IOInckPij7t9la4GBd706h0A8akd_acL2shCgljjnd_fhktPciXKd5J-ziAueerprrPiF0VdQGkz3XUS8ROHtlMvRf-oSUQWF7U8nQvyVnXnJxE3f6Iy6qVlK6YWDg4_gXuc7Z6qN7rLyc5YM_2nompyDXImlvkySxkmEgyPyDFtcx8VYKvd0Zow6R2EVrbJOuFnMlhqoqHQ1B-VY-zBPFCBElouqbLsQsfhY3jGqR4O5ONLgQFdltrG28w

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response ES256
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "ES256"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!EE56.D8B2",
    "client_secret": "0c382a28-1767-4ce0-9144-3b0bdd16830c",
    "registration_access_token": "746c1974-cfb2-4471-9b98-79096c699a26",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!EE56.D8B2",
    "client_id_issued_at": 1377721020,
    "client_secret_expires_at": 1377807420,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "ES256",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%21EE56.D8B2&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=ed7b0164-5088-4361-baf5-f35e49ab30fa&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=88595849-c19d-481d-8efb-85e70f47a4ba&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFFRTU2LkQ4QjIiLCJleHAiOjEzNzc3MjQ2MzMsImlhdCI6MTM3NzcyMTAzMywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImVkN2IwMTY0LTUwODgtNDM2MS1iYWY1LWYzNWU0OWFiMzBmYSIsImF1dGhfdGltZSI6MTM3NzcyMTAyOSwiYXRfaGFzaCI6ImhiOXE2d1NTTFF0Y2ZGU01UVkRjY2ciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.TuO9K_4KsGbKyBnehqKfdawzQfDNsxRqyUcxxAnuVGOF_eqUHaZHoBIf1Ys0J7cllK2g2Y00vS9D1QK5A7jc5LnJXTWUxshkfd11mHNEU8VCtZuKM7yvaqg4_7HNUt2XHYzjKfKvE40bvDJ-O1CmSj3uIVmeIR_HfCZ2VQeZSA2Z-mYMrWiyOmOUwaJfxWrA0_VjDTaxvAj1Ly65GHXYRuvtWdUz81DG7nHUoLa41cik-3FoR1fH8e707RhvddPUVFalNTfC4GTD5fEd9_jM8mhvxUuLjJ8yeVHHQ1xkiPm32MpAcpBiXqnq55jDdVAJE8oHhuM9TelAgug0ipfAAw&auth_level=10&auth_mode=basic&session_id=d20058bf-42cb-475d-a2f3-0ede5bd5b02a&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 88595849-c19d-481d-8efb-85e70f47a4ba

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI0In0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.MEQCIHva8G1e_RF6DQOEvJQQivebjedAcSgCfCtr1El5nhfSAiBkaU7jC_nY_mkYDTIWYjB77O5bzRIer-x-IQuC_RH4Aw

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response ES384
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "ES384"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!3477.EFA9",
    "client_secret": "51df624e-4130-4a49-9275-d8b535646e56",
    "registration_access_token": "7b3fcbbd-9088-4b0b-ab9d-00cc1a34ac6f",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!3477.EFA9",
    "client_id_issued_at": 1377721039,
    "client_secret_expires_at": 1377807439,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "ES384",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%213477.EFA9&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=ab6d17aa-4e17-4478-91f5-dc378cfb827f&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=769a1825-6898-47df-8915-e8db9acc452e&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEzNDc3LkVGQTkiLCJleHAiOjEzNzc3MjQ2NDgsImlhdCI6MTM3NzcyMTA0OCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImFiNmQxN2FhLTRlMTctNDQ3OC05MWY1LWRjMzc4Y2ZiODI3ZiIsImF1dGhfdGltZSI6MTM3NzcyMTA0NCwiYXRfaGFzaCI6Im5ZMXc0c1drVFMwNy1ZLVlPeGRzUEEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.dyncjQXvmNYgmbFBV358h-ruPR9nLpiHXDdcs1j4fumhGZJsqmMdCmxQyre73H0tHt_SNKsOjOGI0FxQbczoKZNsLYFIjDsenUswsk6CcOqHshd-MrxHtIkkiFx_q7ztuZV_QSMhVXXPGRCVJTHbdPTwcv7X7RknBqRICN4IoyTxLm6K9tmS15PSfNBao6Ej8ftweGT65EqoAEM2QCyBOJTQjjc9Uq7e4ppeyxWQySp9QKy1QNvewgwoEqJslCh_eVaOPZvT2xSKGKs2f30Alrd0QMc83YlMdcpb3QXZ752YmuFrbGJXjGv4szqeY2zWHbme3eZlEzYrKPkHLORGvA&auth_level=10&auth_mode=basic&session_id=92bb993d-1742-4375-979a-549429297f41&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 769a1825-6898-47df-8915-e8db9acc452e

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzM4NCIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI1In0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.MGQCMFA5i7jOe3SE1xgn7EfugwzYMqHLpEdPiwVuSLVMywm3Nr7aOg0utmdFOud_kFCGiwIwAJFw-1CLTZDHQS1pIsrKEl6nmFhhrwq7PCTZjLPNunHd69q3b50CBBAS1yO7TO1f

#######################################################
TEST: OC5:FeatureTest-Can Provide Signed UserInfo Response ES512
#######################################################
-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/register HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: seed.gluu.org

{
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "userinfo_signed_response_alg": "ES512"
}

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache

{
    "client_id": "@!1111!0008!4DD7.0275",
    "client_secret": "32e04fbb-050d-436c-84a6-beae037e6303",
    "registration_access_token": "48192275-6628-4c18-b79e-8419374956c2",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!4DD7.0275",
    "client_id_issued_at": 1377721056,
    "client_secret_expires_at": 1377807456,
    "redirect_uris": [
        "https://seed.gluu.org/oxauth-rp/home.seam",
        "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",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "userinfo_signed_response_alg": "ES512",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=token+id_token&client_id=%40%211111%210008%214DD7.0275&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=cba32429-a793-4767-b358-9ed3bfce7c73&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=19a5e9c8-e91e-4685-b9f1-46fc1fe345a6&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0REQ3LjAyNzUiLCJleHAiOjEzNzc3MjQ2NjYsImlhdCI6MTM3NzcyMTA2Niwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImNiYTMyNDI5LWE3OTMtNDc2Ny1iMzU4LTllZDNiZmNlN2M3MyIsImF1dGhfdGltZSI6MTM3NzcyMTA2MiwiYXRfaGFzaCI6ImIweEhKS2xHYUgtQ0tnX2VSbkxsNkEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.GMcjldB_-T29QqfbqcE5BVq6taQdkO5DdV1y8A_f2mD8uA8IVmHm4c8l2Lscsq5yltoQDso4_qKKP0RZJjQgY8zTyVawyDdO6eaWAo87rzUCj4vGd1CABvIVltT6PPz1z87FXaKL12bIMQmykXEHgPhmNqo-W3d4sh-b_oPDAtxr1-WPMtukNitfJlWOK-oHPRFUx-Rj1qd6wy1SpB1L2WE9fzXIpgUAVrsbeEOXLUdbmjm20Cbcz7P343YI_n_2txziJjqsqhFRHyZoPPjH3gmB4OjXW_DOxlBhavJgfHJItSnT-A3eu1vvZrNmYhGZVBNvDXsENJBuqNvU8JwvtA&auth_level=10&auth_mode=basic&session_id=73a09053-d733-44e5-84e2-b791ab069fbf&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 19a5e9c8-e91e-4685-b9f1-46fc1fe345a6

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 200
Content-Type: application/jwt
Cache-Control: no-store, private
Pragma: no-cache

eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzUxMiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI2In0.eyJzdWIiOiJtaWtlIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJsb2NhbGUiOiJlbi11cyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwic3RyZWV0X2FkZHJlc3MiOiI2MjEgRWFzdCA2dGggU3RyZWV0IiwibG9jYWxpdHkiOiJBdXN0aW4iLCJjb3VudHJ5IjoiVVMiLCJyZWdpb24iOiJUZXhhcyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyJ9.MIGHAkFPmUomSpn_nnGE5dXiM26jSe97SsI4JWcAJ6_4oW3ETuKnWYnMz5w0XsmnP1zHvtj4lfWNsMdazSP9cCon7OE1TQJCAbaT4ffzQSPZEQB7wabs-B0gSkBPBoHd1iDsZSlGtWGjV4ADvdDE1D7ukAgfImarX8rJHlX8hU9ryEHrdI7rji_5


===============================================
Custom suite
Total tests run: 9, Failures: 0, Skips: 0
===============================================

Back To

{{#dpl: namespace = OC5 | linksto = OC5:FTR-op-ui-sign-x-Gluu OX }}