OC5:FTR-rp-registration-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-rp-registration-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|3 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/UsesDynamicRegistration.java
#######################################################
TEST: OC5:FeatureTest-Uses Dynamic Registration
#######################################################
-------------------------------------------------------
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"
    ],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "logo_uri": "http://www.gluu.org/wp-content/themes/gluursn/images/logo.png",
    "token_endpoint_auth_method": "client_secret_jwt",
    "policy_uri": "http://www.gluu.org/policy",
    "jwks_uri": "https://seed.gluu.org/oxauth-client/test/resources/jwks.json",
    "sector_identifier_uri": "https://seed.gluu.org/oxauth-client/test/resources/sector_identifier.js",
    "subject_type": "public",
    "request_object_signing_alg": "RS256"
}

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

{
    "client_id": "@!1111!0008!3F54.4D1E",
    "client_secret": "ba6674f1-0a4a-4dc9-8436-58c98b03293c",
    "registration_access_token": "97382745-d3f1-4192-b54a-231463b36448",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!3F54.4D1E",
    "client_id_issued_at": 1378218004,
    "client_secret_expires_at": 1378304404,
    "response_types": ["code"],
    "application_type": "web",
    "contacts": [
        "javier@gluu.org",
        "javier.rojas.blum@gmail.com"
    ],
    "client_name": "oxAuth test app",
    "logo_uri": "http://www.gluu.org/wp-content/themes/gluursn/images/logo.png",
    "token_endpoint_auth_method": "client_secret_jwt",
    "policy_uri": "http://www.gluu.org/policy",
    "jwks_uri": "https://seed.gluu.org/oxauth-client/test/resources/jwks.json",
    "sector_identifier_uri": "https://seed.gluu.org/oxauth-client/test/resources/sector_identifier.js",
    "subject_type": "public",
    "request_object_signing_alg": "RS256",
    "id_token_signed_response_alg": "RS256",
    "require_auth_time": false,
    "request_uris": [],
    "scopes": [
        "openid",
        "address",
        "profile",
        "phone",
        "email"
    ]
}


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

Back To

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