OC5:FTR-op-rtyp-codeidttoken-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-rtyp-codeidttoken-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|16 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/SupportCombinationOfCodeIdTokenTokenResponseTypes.java
#######################################################
TEST: OC5:FeatureTest-Support Combination of code id token token Response Types
#######################################################
-------------------------------------------------------
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",
        "token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "sector_identifier_uri": "https://seed.gluu.org/oxauth-client/test/resources/sector_identifier.js"
}

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

{
    "client_id": "@!1111!0008!B2E9.6BB7",
    "client_secret": "148e2939-5528-495d-bdc2-5758d7a936a4",
    "registration_access_token": "d616da8b-8db2-4f9a-96c8-8234e0bb00c6",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!B2E9.6BB7",
    "client_id_issued_at": 1374005251,
    "client_secret_expires_at": 1374091651,
    "response_types": [
        "code",
        "id_token",
        "token"
    ],
    "application_type": "web",
    "client_name": "oxAuth test app",
    "token_endpoint_auth_method": "client_secret_basic",
    "sector_identifier_uri": "https://seed.gluu.org/oxauth-client/test/resources/sector_identifier.js",
    "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+token&client_id=%40%211111%210008%21B2E9.6BB7&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=cf17bff9-338a-43bb-897f-0d31ff487ce2&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar#&code=73768de2-80a1-45e7-a8cd-06f2c0804b6a&access_token=97adbf33-611a-4f00-9ed7-eda29c7953d2&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFCMkU5LjZCQjciLCJleHAiOjEzNzQwMDg4NjgsImlhdCI6MTM3NDAwNTI2OCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImNmMTdiZmY5LTMzOGEtNDNiYi04OTdmLTBkMzFmZjQ4N2NlMiIsImF1dGhfdGltZSI6MTM3NDAwNTI1OCwiY19oYXNoIjoiQnoyWXpRdm1jMWIyNlFOeThod0J4QSIsImF0X2hhc2giOiIzYUVOdmlpRGxkQXhEOW80czdxNHF3Iiwib3hWYWxpZGF0aW9uVVJJIjoiaHR0cHM6Ly9zZWVkLmdsdXUub3JnL294YXV0aC9zZWFtL3Jlc291cmNlL3Jlc3R2MS9veGF1dGgvY2hlY2tfc2Vzc2lvbiIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25uZWN0LTEuMCJ9.NwpyVWVgQ53BcCTaQbPrcvQlsPU9sdAujmrcqBcNiw8kr7nnH0YyvSJCS0o79kMA4Ml3sor7VyG0AqluuZjqnLfOt1P_Xw6K0IelbDcxizBlLT6Pe6ZEhpkXl_Ag3vsmHYpMvkcp0amYfd6FRJ_tsKT-6M2RW4cFsVSFcqVa2kN-XhAilMja2W-cF157uYi38gXdU-7rj-mF345ErbWo-uVcMdexlsmur2uQH-pcmSAuZAIrvMlLn3_Qo7XqI80FNFftNP5lypkTmnqHg0TiqYQ2I6YzeUCAwCWU2Fc44D7H5wVbvc0mPJECDRGNOUJjXnJIQ9oL2UvVvvOCHYU-ww&auth_level=10&auth_mode=basic&session_id=a7a29975-d342-4700-9d75-1f1463ea826c&state=STATE_XYZ&scope=openid+profile+address+email


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

Back To

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