OC5:FTR-op-pro-login-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-pro-login-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|26 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/SupportPromptValueLogin.java
#######################################################
TEST: OC5:FeatureTest-Support prompt value login
#######################################################
-------------------------------------------------------
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"],
    "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!B911.E76D",
    "client_secret": "95641612-884f-4f61-8a62-60c99667cdd2",
    "registration_access_token": "cd9c1cda-7877-47bc-a1d4-2c4d40ed996d",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!B911.E76D",
    "client_id_issued_at": 1374896784,
    "client_secret_expires_at": 1374983184,
    "response_types": ["code"],
    "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&client_id=%40%211111%210008%21B911.E76D&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=12957eec-58ea-4511-95fa-85098773e170&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar&&code=2c5fe3f4-04d7-4b96-b738-4d2f06537a0b&auth_level=10&auth_mode=basic&session_id=fc1ff7bb-6b83-4d99-aa78-804123f86b9d&state=STATE_XYZ&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: seed.gluu.org
Authorization: Basic QCExMTExITAwMDghQjkxMS5FNzZEOjk1NjQxNjEyLTg4NGYtNGY2MS04YTYyLTYwYzk5NjY3Y2RkMg==

grant_type=authorization_code&code=2c5fe3f4-04d7-4b96-b738-4d2f06537a0b&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar

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

{"access_token":"91fb5800-9fa7-4075-9132-1a1c6fac04e4","token_type":"bearer","expires_in":3599,"refresh_token":"25804c49-74d8-4573-87eb-1e48fc797395","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFCOTExLkU3NkQiLCJleHAiOjEzNzQ5MDA0MTQsImlhdCI6MTM3NDg5NjgxNCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.fOPB8NyKbmgOGEu9JFyb4VqrfqnS_R9nYG3CA3uaKWsJRLM9TZGUsbwOyO6-VoECVoCMyH-twWogF-WRML02v52OGPT8j9Z4m-q39gMo4kUrcQOkXteWGpbs0EgPKcOrUOggNtq3FRIErJ7O15ZjC4FvPv_cXE7prDsjwwcd3nQkrPd7M_tRJQ5kaVzO3G3qETY1Ufo_OhSH9PyYQF8sByLBO79Y3jpJfEzpyIQexQ41c9ZKUc_A8skHNKRsFEuSb1rfU3Q9g-wf3_6oi9GpppyqNNgigJL5Wr1BNxs_zZEv7c5g-Z3hfzu5A-fNo6lR63hz1nGIVPVrhgTWscw6jQ"}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=%40%211111%210008%21B911.E76D&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=c8fcb202-13b1-4693-939e-7983f4d4767a&state=STATE_XYZ&session_id=fc1ff7bb-6b83-4d99-aa78-804123f86b9d&prompt=login

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar&&code=6e3cd796-6365-4586-9351-f6f24938b900&auth_level=10&auth_mode=basic&session_id=cd74c614-77a4-4d1e-9f85-7c6443bc8bfd&state=STATE_XYZ&scope=openid+profile+address+email

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
POST /oxauth/seam/resource/restv1/oxauth/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: seed.gluu.org
Authorization: Basic QCExMTExITAwMDghQjkxMS5FNzZEOjk1NjQxNjEyLTg4NGYtNGY2MS04YTYyLTYwYzk5NjY3Y2RkMg==

grant_type=authorization_code&code=6e3cd796-6365-4586-9351-f6f24938b900&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar

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

{"access_token":"dc71e343-c4f2-4d54-a5bc-72936999fe42","token_type":"bearer","expires_in":3599,"refresh_token":"376b2194-a1a9-486f-a988-9f47faf7a9a4","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCFCOTExLkU3NkQiLCJleHAiOjEzNzQ5MDA0MzYsImlhdCI6MTM3NDg5NjgzNiwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.KIOM2NsfuxtlblvXDL4Gl9yXy_UanPd-iw2Bbi6LmMcqOxckbhVVzT82qYiq7Hxro4yXV02z93QwiDp95rf6R8sqGmhm79vA0hSi_6iq2CVDMAv0GHUgxu9Vmw-PJfwjGcG10U8jKnvMshcgO7GsOA_Zn5ygZIAGuOrUUgGt1HMS3xVsamlEaWYkdfb_bTXx7WwEPZs6ewQwI8J0b80qDl5WkR07sis-qBx-OCI8bL0Hvun1YVzSk1V77Xo3EjJScWc5fHGouBWBfX4lwUY6DrtaZD68rUH9WIg-YA4PMjuvcKmXJAInRa3bIB0WltXhQO-QHV-fHLxilhfUoC-A4A"}


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

Back To

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