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

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-pro-none-x-Gluu OX

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FTR-op-pro-none-x-Gluu OX}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:FTR-op-pro-none-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-none-x-Gluu OX
Test Identifier   bgcolor={{{color}}}}}|FTR-op-pro-none
Primary Solution   bgcolor={{{color}}}}}|Gluu OX
Test   bgcolor={{{color}}}}}|{{#dpl:|category = FeatureTest|namespace = OC5|include={FeatureTest}:identifier |includematchparsed=/identifier\s*=\s*FTR-op-pro-none/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/SupportPromptValueNone.java
#######################################################
TEST: OC5:FeatureTest-Support prompt value none
#######################################################
-------------------------------------------------------
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!1897.7D6D",
    "client_secret": "e01fc5ea-8eee-4645-8df7-1c213ec3fa85",
    "registration_access_token": "4a4f5c2b-06c0-4cdf-bfa3-3a06cb88d531",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!1897.7D6D",
    "client_id_issued_at": 1374894732,
    "client_secret_expires_at": 1374981132,
    "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%211897.7D6D&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam%3Ffoo%3Dbar&nonce=68db740b-6683-4ab0-ad37-f83415600eea&state=STATE_XYZ

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam?foo=bar&&code=3f45fef4-dad0-4952-8933-5333ac53a5bb&auth_level=10&auth_mode=basic&session_id=34f250e4-3a45-4592-8db3-715f2d4b83e7&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 QCExMTExITAwMDghMTg5Ny43RDZEOmUwMWZjNWVhLThlZWUtNDY0NS04ZGY3LTFjMjEzZWMzZmE4NQ==

grant_type=authorization_code&code=3f45fef4-dad0-4952-8933-5333ac53a5bb&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":"a8b40ccf-e409-4d2a-beec-ac718a32e228","token_type":"bearer","expires_in":3599,"refresh_token":"ec462aa6-c585-4fd9-90ae-fcbcab0d62cc","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCExODk3LjdENkQiLCJleHAiOjEzNzQ4OTgzOTAsImlhdCI6MTM3NDg5NDc5MCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.cC5zPaQIimIzH-h6qZAZUKLmYJ7PV35o1En9Pj76OheoPKIxZZXcOK35clGKr2g2jsqccefG5LE3PVFMPaQbCLOctgvtdSVavyEWH50-q-hTJZeOTSruyF8Y_b2gObwRFdNaNGAqx3j51LfwuiXH3CWmvqvkEf3DsDhUj9X4OGXMD5HpO_QhZQ2Jwxxx8BAyBfL8gzTQnY5M1ccb-tfkzpk-MjSq3b9B4K3jH0OvTHEkKhU2RcT4Xx9P7h7GTKqpQI1DGbDSf7W36-DUEKljsEN2lhwM78YlasYCC3XMbK5AYIuJ6LQaWdsjthHIJ_xy6023FN73hNyvc3Ft8ncEVQ"}

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

grant_type=authorization_code&code=d85b77c0-3d9b-48d8-9232-ea18ed6992d8&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":"cb69ab25-2019-4820-8a07-1636f3f8a592","token_type":"bearer","expires_in":3599,"refresh_token":"a82eb84f-abfc-495d-8c7a-2654bfddd762","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCExODk3LjdENkQiLCJleHAiOjEzNzQ4OTg0MDAsImlhdCI6MTM3NDg5NDgwMCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.brV1HsZkHC1Et-cavb8fiwa-I6Rq38N6mcEJl83rl3lttefelFl7z1JG1X6vva1PI7Ecu4LDHtDa0FuOd33pRVB3g8_HZ_dMxnUJugtI1aVp-P2sdhze3x1tmwW4xM3f4qmb7NLv7Cbpm9FhImNlzIu0JHp6YQJzn5J4kL1T7nsFNmRzdJa6R4N_IuZReNUJFDTF8ssJKKfVXs0qh8GaPC-I_f1plaxER1kpCoKkr9QYutcptM8PJkhvhkH5Wtkdmv-eLgMiC0BJpgVV2eekcW26eGs-xhdedHv1ArXP382UYYTIBPOLm34mWhmvrRBEqWMtLLIAufdj_nbO28UYFQ"}


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

Back To

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