OC5:FTR-rp-ui-enc-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-rp-ui-enc-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|4 September 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/CanRequestAndUseEncryptedUserInfoResponse.java
#######################################################
TEST: OC5:FeatureTest-Can Request and Use Encrypted UserInfo Response
#######################################################
-------------------------------------------------------
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_encrypted_response_alg": "A128KW",
    "userinfo_encrypted_response_enc": "A128GCM"
}

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

{
    "client_id": "@!1111!0008!6140.B437",
    "client_secret": "a6d5bb51-a4cd-46d0-94be-7b84047f6f33",
    "registration_access_token": "35b58f3a-8d66-4538-acb4-6e162e4559e1",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!6140.B437",
    "client_id_issued_at": 1378352726,
    "client_secret_expires_at": 1378439126,
    "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_encrypted_response_alg": "A128KW",
    "userinfo_encrypted_response_enc": "A128GCM",
    "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%216140.B437&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=ae16c62e-a688-4865-94e0-3c9866a952d2&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=a27397d5-9e11-4a8c-bf43-0f72759b293b&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE2MTQwLkI0MzciLCJleHAiOjEzNzgzNTYzMzIsImlhdCI6MTM3ODM1MjczMiwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6ImFlMTZjNjJlLWE2ODgtNDg2NS05NGUwLTNjOTg2NmE5NTJkMiIsImF1dGhfdGltZSI6MTM3ODM1MjczMCwiYXRfaGFzaCI6ImRheWp6Y1FBaW1oUk5uTjJ4eklKeGciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIiwicmVnaW9uIjoiVGV4YXMiLCJwaWN0dXJlIjoiaHR0cDovL3d3dy5nbHV1Lm9yZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wNC9taWtlMy5wbmciLCJ6b25laW5mbyI6IkFtZXJpY2EvQ2hpY2FnbyIsImVtYWlsIjoibWlrZUBnbHV1Lm9yZyIsImxvY2FsZSI6ImVuLXVzIiwibmFtZSI6Ik1pY2hlYWwgU2Nod2FydHoiLCJsb2NhbGl0eSI6IkF1c3RpbiIsImZhbWlseV9uYW1lIjoiU2Nod2FydHoiLCJzdHJlZXRfYWRkcmVzcyI6IjYyMSBFYXN0IDZ0aCBTdHJlZXQiLCJnaXZlbl9uYW1lIjoiTWljaGFlbCIsImNvdW50cnkiOiJVUyJ9.hLmO7nn5-3psaLBpFheFkC7IYSrx5hdCRWw2FBXrck671cyYXQ-niwt6OJSwH1YUpexc51ffN1Hegoe15sX8mczpk7jjrtv4OI5t2cBGYUXGLySojsTnOJzH2wBXS5i1h5Q2tJE78cCbSqs1kP50fzBS95IV6yCP3GGj4NQNhFGRJk4QTc724gSl6xYSTiaEZebtyfgLXXHq0d8tMMJcv21LrmQ0sxm26XSOAJtYBC50aksJOMXUJiXdFHVwT1i2-n5M9rzcW9MzJ5OD2hoBvaGL4-hbM645AR8d4mayfQo-Rt2onZMzDJ694oGluTwbpj2cn_ojbhlUOnN08jc89Q&auth_level=10&auth_mode=basic&session_id=e8129a05-3d90-4d97-891d-b0bd190f27b0&state=af0ifjsldkj&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
GET /oxauth/seam/resource/restv1/oxauth/userinfo HTTP/1.1
Host: seed.gluu.org
Authorization: Bearer a27397d5-9e11-4a8c-bf43-0f72759b293b

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

eyJ0eXAiOiJKV0UiLCJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4R0NNIn0.cchg9ugh6930MLpbW2j3BAfiZUNXpRVq.N8LERNYmcnLFU2Jc.0TVWjpKfobLuMo-yd_k8bjpEDEbjgXXxMWt0x-t24l0DIgDEniTF1MyhkUXh4RrUvj0Z_GNZGI6NGuQpvcf9oRH7wLzb4HINck2Evozb9svygZq6-7GN2SqylFsCrfM-TwtTTYhkTR7DugRubHp6x1I3ZXP3I2QRcx2GIWCIwIvV1UdxyX_9xZoUGSdjit1LXgmsFwml_mWJCy2-ByTn0FuIIbJ-dZeAykNB_NA-tSwut8eZwXC5Wa8rnESjigNE6W0mbxE0HsXlmOm2T-D24NeQEId6yg2dKuypGVgAyCQioDtmFDlglGfXn_cgaRmG_yk8Hqkz70jef2RVtpV6ZGScQEg3zOv7ojrRzSitATdOIBT-SgE6XXDfxYWczJpASTHQ1eOBi2Lti13XJlKnGGozlCEBh4gjY0O8xDZB4jCh2bOY8atBBN6jjE7NssmLAu8hf-6igfro5GMy07uiF67fMBRWSZUHI5hx-gP5XBzf2Cbo7LpOGX3xGu0Okdw_WYWLRWo39AVfe3lcxzYOE4XFqcrE0uf2rb7d09MPAOfe1ChQRhrBuQ.XPceSuXKtREpSa9Soqk0-w


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

Back To

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