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

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

{{#vardefine:DtArticleSortKey|}}

FTR-rp-idt-enc-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|5 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/CanRequestAndUseEncryptedIdTokenResponse.java
#######################################################
TEST: OC5:FeatureTest-Can Request and Use Encrypted ID Token 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",
    "id_token_encrypted_response_alg": "A128KW",
    "id_token_encrypted_response_enc": "A128GCM"
}

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

{
    "client_id": "@!1111!0008!6E4F.6C96",
    "client_secret": "79cf5f1c-d478-4ea4-91f0-a87ce2d4219a",
    "registration_access_token": "b69d2e97-3065-4cd9-887d-5494dbc60814",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!6E4F.6C96",
    "client_id_issued_at": 1378422621,
    "client_secret_expires_at": 1378509021,
    "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",
    "id_token_encrypted_response_alg": "A128KW",
    "id_token_encrypted_response_enc": "A128GCM",
    "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%216E4F.6C96&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&nonce=ef6ee116-8fcd-4293-be64-7d29f3ac69c4&state=af0ifjsldkj

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#access_token=d7a8fbb4-0bcd-4e13-a907-e76d6f350af8&token_type=bearer&expires_in=3599&id_token=eyJ0eXAiOiJKV0UiLCJhbGciOiJBMTI4S1ciLCJlbmMiOiJBMTI4R0NNIn0.MQ4abn3gJKPnp5H8RnA4fGRtaQlC4OaB.u0UjiwQf9T6JQeKz.4N4Aatw7RaNeeHPgsQLtjny09_CohmAMpIedjSKscojhk1hFSSEmErNzDxDT_ky6qJtcSqboJWIji829Ea1CywmoZoTI3j3uLBhxb42eUMSyenLlLuuj0Dx8xK4vwKBpR83AgOGZUWorlcsF-GgKvq8W0x75wo-XM17mKmXnSgb_IENlm7GXBbB7l8YsxSdAnsJqgV6idIV0t07c4DT2s5k9U8qVgvvKIiDBQOM2v188UejWxm48Aa8FKYLsiu3zUYHVd_UiaZAEZ5fiY0KSeqmAdPxXIYhrwghqMgT8Y0HhsuJn7dLT4SUvJP1asfc7HR5QyeFgTuU6A1zssy2F5p7YuUEnOu-aQLHSYdeuS8_1GLpUGOWKAV_kRzhJr8GO4E8H_5ZrJqBqVD8p-n3hyVXbOHWz2KDMb1obbuzj8i3wYtHcz0xS58PFMRC3Ef4UHVUOaIpPwtaByEL_l2PPC8aJtWH1ZsUw7RQ5thUDr3Q9DzTzGOGOSxb-2x2GQ2yzITw24f9m_ChLdTXPdtqkYCp2GM6zH4EA0FsoAgEO6TZpYcS5xLom9r8ntLDPcmioHlLYYpMfshAa0oxZc8bdGVJHgrhKr0xdDkfKLBrlsu9zff-DiNzBxY7fLrXxZz8JeBK_APlfKRW30kGibvGzQqA8fp49Vy69qV_IOEwtTZYKJjFFS-sQORvA_NuX3O8JO5AdXw-YYkds-CTKGTSjyEqRcFAF8g4f3PkAVFKKJa1C5Ya7X5fDy3UVppq0mUjJncYLM9WeBIhFhOH6qdcD5O3mD2Sb6tc6LdS-8hwhpdBdqlJMwlEcrJETeBwwDmtDu9KxzRcWzUVEJugN_sYPQ40IiuLYLdKejg9oQooWRT5As3trxldqcCktk0d6PJJ6gmXnXJLvNH6UrQDBxOrjbSsfrAdJEeOOzOK75RQOxtCiaoLXUdwDmp7JcAvY5tepsEfO5EufPPwnLbCwkx0MmqlN_xmj2VUHBXi4hH9h0TyERKTqDV0OFSP-iT4Gx-yUletppHAW82tY04vb2nO-5wYX8eOgxPNtes2xK2dF5aB0vKUQfv2Kmn6CryGkhgkT99VVauZMDqqZ_dgfahHlWlZ1i59hPzmx4DCLX1NvdV0VAmXPso7URkB2SbqpfNLiRp2yXWga7XxkvdLxu5AAH3nyJg7Ds24c65ei2Ep7ghn5qSQ-z8ITxvArj6Q._QyvUJ1AtVPNi0FbdkHKjQ&auth_level=10&auth_mode=basic&session_id=7386d5b2-3735-4aa2-842b-495ed0f5f955&state=af0ifjsldkj&scope=openid+profile+address+email


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

Back To

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