OC5:FTR-op-nonce-notused-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-nonce-notused-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|23 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/SupportRequestsWithoutNonce.java
#######################################################
TEST: OC5:FeatureTest-Support Requests Without nonce
#######################################################
-------------------------------------------------------
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": [
        "code",
        "id_token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app"
}

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

{
    "client_id": "@!1111!0008!3520.A632",
    "client_secret": "3d038918-2dc5-4abf-9bfa-67ce0bc51a82",
    "registration_access_token": "a1ee9dd8-167d-45bb-a2da-7632195d6a38",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!3520.A632",
    "client_id_issued_at": 1377293481,
    "client_secret_expires_at": 1377379881,
    "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": [
        "code",
        "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=code+id_token&client_id=%40%211111%210008%213520.A632&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#code=7bc8d491-0adc-4dc8-ac27-3dd46a40e57c&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEzNTIwLkE2MzIiLCJleHAiOjEzNzcyOTcwOTMsImlhdCI6MTM3NzI5MzQ5Mywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJhdXRoX3RpbWUiOjEzNzcyOTM0ODgsImNfaGFzaCI6IksxRk54NUIzNGE5MEhhSFBNNmRNYnciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVbml0ZWQgU3RhdGVzIn0.V0l9mtkU5jv2gxfjag6OTTsryhepYwiuko0FKNzFkgAmXbJOepYgUz87MPct10bgTRA9uH6P5W2ZMGyTyFPXNorgfOIuRnp6g9lVqMK5AYNCz2L4nUTj0eRkX_oADOF9BH1nk2Rlxgiw2AWrPHazvJvXHnQPv5GKeACoWAAVo9lpUxkwBNipeRKwZZr8VZq25rFEUDFlZ6NTMdPCYpHpSgwmVZTC7GRzrroTRQZTD0uCVV1W6eeHwMKQY-ZOLDauGmp_TywRaGUCKWZZGhT3jwjMM7PLA-b-HYs_-V92OovhOK__BPKuEOPqAf9HFZlMof2Aen6BHG9jSAJI9TPzwA&auth_level=10&auth_mode=basic&session_id=74c63ebc-3e77-40ad-81ec-d1bd26495ada&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: seed.gluu.org
Authorization: Basic QCExMTExITAwMDghMzUyMC5BNjMyOjNkMDM4OTE4LTJkYzUtNGFiZi05YmZhLTY3Y2UwYmM1MWE4Mg==

grant_type=authorization_code&code=7bc8d491-0adc-4dc8-ac27-3dd46a40e57c&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam

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

{"access_token":"e24f47a4-d8ec-4a8b-a162-af86216f73f0","token_type":"bearer","expires_in":3599,"refresh_token":"b6ab3b4a-30b5-4116-9f69-4f3bf680492d","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEzNTIwLkE2MzIiLCJleHAiOjEzNzcyOTcwOTYsImlhdCI6MTM3NzI5MzQ5Niwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.UbIA-cTmYL4Oq4OYycVB4ZPUMah1YZppHVKpYpj2du-VHgVXQ8W6u2J1HyQlVfhJTVb5ug6I-ZSwTvf5Bbld7bkgRdHZo4gu2hbKrXnjh1a6MFBxQuHBu8l7nTcZQOLLJyzEGdxP9p0jwybcjASQ2Ycoud8z0sPjQgkoIfWnuyz01xuvNqcBCp_CqZ1gAjZNCJc-wKDDEMMeeo_rClRqyaeyjiAfTN_oirNrVK12eavORaaHEcR8jnpPghxvfZwZxzmYA0iVDpkP77wCYCdO10R6PMRDc4GcfDT-GMj3jUfgBOA-C99Q3nV_Ry3v2Vi2wuwgawG7gFsl5PbZ1y8gUA"}


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

Back To

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