OC5:FTR-op-clm-essandvol-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-clm-essandvol-x-Gluu OX

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FTR-op-clm-essandvol-x-Gluu OX}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:FTR-op-clm-essandvol-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-clm-essandvol-x-Gluu OX
Test Identifier   bgcolor={{{color}}}}}|FTR-op-clm-essandvol
Primary Solution   bgcolor={{{color}}}}}|Gluu OX
Test   bgcolor={{{color}}}}}|{{#dpl:|category = FeatureTest|namespace = OC5|include={FeatureTest}:identifier |includematchparsed=/identifier\s*=\s*FTR-op-clm-essandvol/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/ProvidingIndividuallyRequestedEssentialAndVoluntaryClaims.java
#######################################################
TEST: OC5:FeatureTest-Providing Individually Requested Essential and Voluntary Claims
#######################################################
-------------------------------------------------------
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"
}

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

{
    "client_id": "@!1111!0008!E435.4F0D",
    "client_secret": "df2fe959-5609-4e8d-9afc-c719692d41ac",
    "registration_access_token": "9a0e78ee-de44-409e-8698-8b1a75c4eeef",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!E435.4F0D",
    "client_id_issued_at": 1377314380,
    "client_secret_expires_at": 1377400780,
    "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",
    "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%21E435.4F0D&scope=openid&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=d39704fd-31d9-4535-a43b-5b2e95828be0&state=af0ifjsldkj&request=eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzI1NiJ9.eyJyZXNwb25zZV90eXBlIjpbInRva2VuIiwiaWRfdG9rZW4iXSwiY2xpZW50X2lkIjoiQCExMTExITAwMDghRTQzNS40RjBEIiwic2NvcGUiOiJvcGVuaWQiLCJyZWRpcmVjdF91cmkiOiJodHRwcyUzQSUyRiUyRnNlZWQuZ2x1dS5vcmclMkZveGF1dGgtcnAlMkZob21lLnNlYW0iLCJub25jZSI6ImQzOTcwNGZkLTMxZDktNDUzNS1hNDNiLTViMmU5NTgyOGJlMCIsInN0YXRlIjoiYWYwaWZqc2xka2oiLCJ1c2VyaW5mbyI6eyJjbGFpbXMiOnsibmFtZSI6eyJlc3NlbnRpYWwiOnRydWV9LCJlbWFpbCI6bnVsbCwicGljdHVyZSI6bnVsbH19LCJpZF90b2tlbiI6eyJjbGFpbXMiOnsibmFtZSI6eyJlc3NlbnRpYWwiOnRydWV9LCJlbWFpbCI6bnVsbCwicGljdHVyZSI6bnVsbH19fQ.F44cOyfSRvBcCmyEWqKhVynM7gGagdd5KrCG7eYEx8E

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=649e9956-e234-4fd6-88da-43f808ff3a49&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFFNDM1LjRGMEQiLCJleHAiOjEzNzczMTc5OTAsImlhdCI6MTM3NzMxNDM5MCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImQzOTcwNGZkLTMxZDktNDUzNS1hNDNiLTViMmU5NTgyOGJlMCIsImF1dGhfdGltZSI6MTM3NzMxNDM4NSwiYXRfaGFzaCI6IkJDemt6aE1LQjA2Zi1kb0FQc21nMUEiLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicGljdHVyZSI6Imh0dHA6Ly93d3cuZ2x1dS5vcmcvd3AtY29udGVudC91cGxvYWRzLzIwMTIvMDQvbWlrZTMucG5nIiwiZW1haWwiOiJtaWtlQGdsdXUub3JnIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoifQ.Jt-ncOBEUUZtoiu5JCqBejnnLZR3jQtM6Mtmehq7t2o1WaBI8zMM5oShKbBAkz9oAYckEfbQvn7CRGbD928DsIiQyD4woQecjzP71igF09BvkSQMkAf-0tigk-143vCjL3uaIWYRlLnxvWgs9rqAND6H-boHOVX2fGvJn3jlKAQYJBB8d956u_LqrfRIGb5zQysGp8UIj7eHb4TyQmxlYGxhvZW7hX46P_zU_zs0psNjbw1JNKE37woPYBS0iDRnCNa_kEXpuam458G57a8H_k4qhHa3EV9gEmm0Yjcp3frJkRum1JCJw_mdXulzX8YxZAGJk4M4Fe1k3DYfq3PUyA&auth_level=10&auth_mode=basic&session_id=5b814894-f777-417d-93cc-e0c36235bcb7&state=af0ifjsldkj&scope=openid

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer 649e9956-e234-4fd6-88da-43f808ff3a49

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

{
    "sub": "mike",
    "name": "Micheal Schwartz",
    "email": "mike@gluu.org",
    "picture": "http://www.gluu.org/wp-content/uploads/2012/04/mike3.png"
}


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

Back To

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