OC5:FTR-op-alg-rs256-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-alg-rs256-x-Gluu OX

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FTR-op-alg-rs256-x-Gluu OX}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:FTR-op-alg-rs256-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-alg-rs256-x-Gluu OX
Test Identifier   bgcolor={{{color}}}}}|FTR-op-alg-rs256
Primary Solution   bgcolor={{{color}}}}}|Gluu OX
Test   bgcolor={{{color}}}}}|{{#dpl:|category = FeatureTest|namespace = OC5|include={FeatureTest}:identifier |includematchparsed=/identifier\s*=\s*FTR-op-alg-rs256/s| noresultsheader= no matching test found.\n

}}

Date Tested   bgcolor={{{color}}}}}|27 July 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/UsesAsymmetricIdTokenSignatures.java
#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "RS256"
}

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

{
    "client_id": "@!1111!0008!0F79.4C42",
    "client_secret": "5f7b40d2-74a9-4ea8-90a5-a68bc6809872",
    "registration_access_token": "1c3727a9-8171-417a-a12a-76f298e99e23",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!0F79.4C42",
    "client_id_issued_at": 1374902361,
    "client_secret_expires_at": 1374988761,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "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=id_token&client_id=%40%211111%210008%210F79.4C42&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=5abb85ae-c047-4cd4-b15a-0e8a7ef7dd6c&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEwRjc5LjRDNDIiLCJleHAiOjEzNzQ5MDU5NzgsImlhdCI6MTM3NDkwMjM3OCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjVhYmI4NWFlLWMwNDctNGNkNC1iMTVhLTBlOGE3ZWY3ZGQ2YyIsImF1dGhfdGltZSI6MTM3NDkwMjM2Niwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.W2BpBLjWbUqq3S3Ml7VzBKmK2NkatmyaqIvUIZHpSS2zXKOJg4BqnZIITgXZG943Y_yAXmwAWEi4Od8f63BL7o41cZJu_8MgveA6Fs_pFvCII0kQGHsXNcdyqFmNpdx6wX1pLQlnRf52p0kVi5u5Lm5cpVqqpOV__0VZS35OMGAYnt2fnU5FosgSQR-hH-gW0Fxr7vBfGlWS4IiCHWYT9zzyEFPGFkjORjNEdGEYcDBUE9Xh1UBOz4U4LQxUEIZabQc16D-wcOE73PIBRVFJMC7sAZgumM8dGDg2Jd1O4vbPPtxgV3yHQOgaGo1eHFytMUb0llviYRvbyjz1odiYtQ&auth_level=10&auth_mode=basic&session_id=0b813ea5-d0a2-44d9-9e7e-1663db823e86&state=STATE_XYZ&scope=openid+profile+address+email

#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "RS384"
}

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

{
    "client_id": "@!1111!0008!359A.40A4",
    "client_secret": "f257b87f-ea67-4031-9a9a-f86ca8769e9e",
    "registration_access_token": "018a3e8e-0e3f-4bcf-b045-2f41271860bf",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!359A.40A4",
    "client_id_issued_at": 1374902382,
    "client_secret_expires_at": 1374988782,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "id_token_signed_response_alg": "RS384",
    "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=id_token&client_id=%40%211111%210008%21359A.40A4&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=5e3bf357-7c12-4a7f-9fa6-7a9aa5affd51&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzM4NCIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIyIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEzNTlBLjQwQTQiLCJleHAiOjEzNzQ5MDU5OTgsImlhdCI6MTM3NDkwMjM5OCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjVlM2JmMzU3LTdjMTItNGE3Zi05ZmE2LTdhOWFhNWFmZmQ1MSIsImF1dGhfdGltZSI6MTM3NDkwMjM4Niwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.hXqMfpO8gvRGE4O6EBQ4Cj8NQ7cANJJa5tTSVWFLokzzihQ8mDs6-SltoUiBEwe1fk6j38TDTWZ0rR9MpsiCO-pcGHoVaqWYVqinqQBRq9YygWjC5rIeUoEDxtY9OvCPgAE8ftRzZl99z9XqY2ssk6k0FwEJgT-rbzZWpuK-Em0WUFgXAMlFInhFzDftET_yHHh88Xd5dmI_HYCWGdrrfJQf4_EJXMCOcCyuBotss_E0FhM22kYSb0wwGuFAwaRslH9C4w5sF6XK8zb53XOu6Rm4hb0B3fqlwWsuez8k_nG19Z4pu239U-5eBNgaGzNGk7l2HgfoKGso-clAyywQGQ&auth_level=10&auth_mode=basic&session_id=c374c257-0fa7-4329-867e-e67f2e096b8f&state=STATE_XYZ&scope=openid+profile+address+email

#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "RS512"
}

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

{
    "client_id": "@!1111!0008!E177.5868",
    "client_secret": "da2d144f-d77c-4945-8a00-6240a46a3cbd",
    "registration_access_token": "bd17f5ba-6aa5-4c4a-8a8c-1895ac1785a7",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!E177.5868",
    "client_id_issued_at": 1374902402,
    "client_secret_expires_at": 1374988802,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "id_token_signed_response_alg": "RS512",
    "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=id_token&client_id=%40%211111%210008%21E177.5868&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=51cf8c39-5913-48aa-8405-e534bc512e1f&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzUxMiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIzIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFFMTc3LjU4NjgiLCJleHAiOjEzNzQ5MDYwMTksImlhdCI6MTM3NDkwMjQxOSwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjUxY2Y4YzM5LTU5MTMtNDhhYS04NDA1LWU1MzRiYzUxMmUxZiIsImF1dGhfdGltZSI6MTM3NDkwMjQwNywib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.VRHJaH5o2FdiLJy_6d_vvaH_rzQnZrRR_YCbeIpgtdVyDIvvNFWedAOfOQKBd1y6854G5f4itzb4kY_ZcqzRzGSAgYUMMEiA0zUHKUIl65JzhYP-Irnsx_c0DU_S6iBhYygZEaNnMAKFp4hQd8gsQY4yYz2K-n6CnqJd_eoaVAVNlhiKDdkRZjCGIk84C_DgpydO2POIabzC59Zpcvbo3vWhAAjlxHUx54TcuVMa86RpgfVQrQxI035u_moJsR3U7cz3ccE-HmAhmpDWuSH-V6tAzVAigDkdIGpD-PdNW7QxW1Ho_Jcp1O5fqaTwHiZCFsF0sQzKmfWXzDWYSdl9zw&auth_level=10&auth_mode=basic&session_id=a26bb7e4-ef31-4b68-9628-9ebc2f628751&state=STATE_XYZ&scope=openid+profile+address+email

#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "ES256"
}

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

{
    "client_id": "@!1111!0008!7BCA.3D1C",
    "client_secret": "d30469cf-2ebc-418f-b978-9badda893a4b",
    "registration_access_token": "7d07e518-642b-4d96-afd5-fe83b9d56b94",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!7BCA.3D1C",
    "client_id_issued_at": 1374902293,
    "client_secret_expires_at": 1374988693,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "id_token_signed_response_alg": "ES256",
    "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=id_token&client_id=%40%211111%210008%217BCA.3D1C&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=fe2974c0-e1a3-4b31-8fa2-b2327d4dd793&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI0In0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE3QkNBLjNEMUMiLCJleHAiOjEzNzQ5MDU5MTIsImlhdCI6MTM3NDkwMjMxMiwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImZlMjk3NGMwLWUxYTMtNGIzMS04ZmEyLWIyMzI3ZDRkZDc5MyIsImF1dGhfdGltZSI6MTM3NDkwMjI5OSwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.MEUCIQDoeWjxjRBtFN-3nmZQL31eYb5-4WBj7zWEpKmVuzBD-QIgHbegeQbXUfqmwb7UxqW8MoKcqniiu-3pet1Bndgrg4Q&auth_level=10&auth_mode=basic&session_id=e54b09ee-0ea8-4de2-9353-28a5fb273a04&state=STATE_XYZ&scope=openid+profile+address+email

#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "ES384"
}

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

{
    "client_id": "@!1111!0008!A3C8.AF2E",
    "client_secret": "f5422e0e-0f7d-49da-b147-a06b5d0b111b",
    "registration_access_token": "7e582b7a-2337-460c-9912-d19684be2383",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!A3C8.AF2E",
    "client_id_issued_at": 1374902316,
    "client_secret_expires_at": 1374988716,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "id_token_signed_response_alg": "ES384",
    "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=id_token&client_id=%40%211111%210008%21A3C8.AF2E&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=918a74fe-646c-4a50-8c10-353448413d97&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzM4NCIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI1In0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFBM0M4LkFGMkUiLCJleHAiOjEzNzQ5MDU5MzMsImlhdCI6MTM3NDkwMjMzMywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjkxOGE3NGZlLTY0NmMtNGE1MC04YzEwLTM1MzQ0ODQxM2Q5NyIsImF1dGhfdGltZSI6MTM3NDkwMjMyMCwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.MGUCMQDrC-I2uWTZUA9vxaXo2kKsotwXCcv1WtR_oWXPLJSmo1xnZBapz3qBR5rTuPxPlu4CMBjkN37fV32bABwBmkfdZoohTEsMrXv-w23OTYTepNeeqXi3Xs0Df0HR1OyeWttMHg&auth_level=10&auth_mode=basic&session_id=9ee7970e-ffd2-49f7-a071-51356c00ae36&state=STATE_XYZ&scope=openid+profile+address+email

#######################################################
TEST: OC5:FeatureTest-Uses Asymmetric ID Token Signatures 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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "id_token_signed_response_alg": "ES512"
}

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

{
    "client_id": "@!1111!0008!3DE3.0C1E",
    "client_secret": "44b48c22-9c8b-46af-a0ef-f8a37dcaba4e",
    "registration_access_token": "86fba88f-a2d6-4d2b-b5d5-9afdf2f4362f",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!3DE3.0C1E",
    "client_id_issued_at": 1374902338,
    "client_secret_expires_at": 1374988738,
    "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": ["id_token"],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "subject_type": "public",
    "id_token_signed_response_alg": "ES512",
    "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=id_token&client_id=%40%211111%210008%213DE3.0C1E&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=42e9e0f4-a369-4929-bc39-cef366fcb4e6&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJFUzUxMiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiI2In0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEzREUzLjBDMUUiLCJleHAiOjEzNzQ5MDU5NTUsImlhdCI6MTM3NDkwMjM1NSwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjQyZTllMGY0LWEzNjktNDkyOS1iYzM5LWNlZjM2NmZjYjRlNiIsImF1dGhfdGltZSI6MTM3NDkwMjM0Miwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.MIGIAkIBttG6StC8zRFjElRBc6XzFb4y3k1S-HryQurh7ngMZizVOKt8ltyL6YX3H6uNLXrCwYMHDf2uKoaBdTAVuduedIwCQgGrqMaj1RY6ItaYnPX24HsKXkL9XBl1bzu_d6dRJBY273Py8wUgeqeLmI_xvZIc5tS37FhqPzDQDWomWN-kwexdTg&auth_level=10&auth_mode=basic&session_id=90b90ec3-8aef-4d9c-8181-65c135de1ed2&state=STATE_XYZ&scope=openid+profile+address+email


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

Back To

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