OC5:FTR-op-maxage-x-Gluu OX

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

{{#vardefine:DtArticleSortKey|}}

FTR-op-maxage-x-Gluu OX

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

}}

Date Tested   bgcolor={{{color}}}}}|9 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/ProvidingIdTokenWithMaxAgeRestriction.java
#######################################################
TEST: OC5:FeatureTest-Providing ID Token with max age Restriction
#######################################################
-------------------------------------------------------
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",
        "id_token"
    ],
    "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!40C8.42A0",
    "client_secret": "e5e57cb5-ea9b-4ae0-bc45-14ccfaa846b0",
    "registration_access_token": "8c1fd4fb-04aa-40e7-afba-3a4735065e51",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!40C8.42A0",
    "client_id_issued_at": 1378781536,
    "client_secret_expires_at": 1378867936,
    "response_types": [
        "code",
        "id_token"
    ],
    "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+id_token&client_id=%40%211111%210008%2140C8.42A0&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&state=STATE_XYZ&nonce=7156f1ae-cbb1-4bcd-99a7-0eeedab7c274

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#code=0eb5917a-f763-484d-a4b5-8d171df9e49f&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0MEM4LjQyQTAiLCJleHAiOjEzNzg3ODUxNDQsImlhdCI6MTM3ODc4MTU0NCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjcxNTZmMWFlLWNiYjEtNGJjZC05OWE3LTBlZWVkYWI3YzI3NCIsImF1dGhfdGltZSI6MTM3ODc4MTU0MSwiY19oYXNoIjoiOWdsYXhUUllNWHdMaWM0UUZuZFJQQSIsIm94VmFsaWRhdGlvblVSSSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2NoZWNrX3Nlc3Npb24iLCJveE9wZW5JRENvbm5lY3RWZXJzaW9uIjoib3BlbmlkY29ubmVjdC0xLjAiLCJyZWdpb24iOiJUZXhhcyIsInBpY3R1cmUiOiJodHRwOi8vd3d3LmdsdXUub3JnL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEyLzA0L21pa2UzLnBuZyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwiZW1haWwiOiJtaWtlQGdsdXUub3JnIiwibG9jYWxlIjoiZW4tdXMiLCJuYW1lIjoiTWljaGVhbCBTY2h3YXJ0eiIsImxvY2FsaXR5IjoiQXVzdGluIiwiZmFtaWx5X25hbWUiOiJTY2h3YXJ0eiIsInN0cmVldF9hZGRyZXNzIjoiNjIxIEVhc3QgNnRoIFN0cmVldCIsImdpdmVuX25hbWUiOiJNaWNoYWVsIiwiY291bnRyeSI6IlVTIn0.T5ysBwiMffSkBMj4HgQ0C6HCa0zLAUqRFV8tWOWwJWdDq-dO9d2lA9TxuT4pQCE8nyHe9da8q8y0UzZClGjVHF4DgL4_PQMbaCEQtxqxa0Uc7Q7nbaCuUpp9a3Nk2zgTBUn4Ujay83dguPD9Fa3I0VVLkA0t2vPqpFOKq6BB2FgPTmz5ycOjEBB_yf0JgjMCGEsTp6eAlLg9TNkB6VKBKRfUbkjJfORKB4ZtwrkzUH5lDj3DNMDX1KMth4adlYP63rgiLi_I9PBgf3rncIJLtGINrfsoae2FrN9ALo9KYdPpYT5TQxqt6wRVBqMoYStVkPnuNPhsSjRreIjmfwhyVQ&auth_level=10&auth_mode=basic&session_id=8719974b-0a4f-4cea-abb4-2417c4219407&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 QCExMTExITAwMDghNDBDOC40MkEwOmU1ZTU3Y2I1LWVhOWItNGFlMC1iYzQ1LTE0Y2NmYWE4NDZiMA==

grant_type=authorization_code&code=0eb5917a-f763-484d-a4b5-8d171df9e49f&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam

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

{"access_token":"9627c3d0-4c96-478c-a0b1-6f80a230f2ae","token_type":"bearer","expires_in":3599,"refresh_token":"9113fbee-37f0-44ce-8a26-f47cb5af7f33","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0MEM4LjQyQTAiLCJleHAiOjEzNzg3ODUxNDcsImlhdCI6MTM3ODc4MTU0Nywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.PLQy8-s9Bm8mPIBn5mcFfkuW-vNqmypniR37b2zgMFHN_OrM1sTkQtdj_y0J6A95t3Dxqqo86SVkEn7bPYf32IBGsJMbpRZJ3JBn1INHO50MTykM3WjYZu-t4qf1nnYNfoIsO7tq4IFe94SoxvTK4kQ9BB414g2uzVHtg7cC3U6x3ZC9gCBhZNa2tj5V3emU1vdGVGJzlt_6lfaa_87Sk5gy8PQEaLIp1zL-MAPcHlaaoUGZuNdHjMMJMaeTGiMJ9nbtklMFYw6FgtVUIzXKmTzv73bmsTtTlWA8C2SKYBTtsWMWSI1hsoA6nPSzO1avRRhhx2jpbnQT294cuIS4Qg"}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code+id_token&client_id=%40%211111%210008%2140C8.42A0&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&state=STATE_XYZ&nonce=0b415afb-33d3-4807-8b1e-add0f223174b&max_age=30&session_id=8719974b-0a4f-4cea-abb4-2417c4219407

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.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CIsImdpdmVuX25hbWUiOiJNaWNoYWVsIiwiY291bnRyeSI6IlVTIn0.GWRvpgeliywRtal3m7_D9zDZ3t-bDzAowVgsmaK-RI2HJ6X6xo7STP0-EZjdRE-3RrlulpdagykHOnFjjMEKdQEUHXY1XF_R91s3z9U5Fkta7Fv2JtxaDDkfOVbMfFCqyfFX4z9WTi4xjCfmGhBnjMPQ28xM-XZzG0NJFG68E2xysMx9D93fXVX43dT-Hr7FUQCAlTrEdJRbSF1WcsKBRSqrdLCQ4PUovhfYF6k8iN8xF0_UTji7ECCaFJRvY4Ms8qqlQGDyvA6ySEBBgsEDxNiAg4_ScDihRdTeCjQGSOfscgh9_0TyP2PiBeolCcDJQNISEqItmkpWeP_4dJBHiQ&auth_level=10&auth_mode=basic&session_id=55fcdb9e-04a0-4fee-9e3c-3b2cab63f8ba&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 QCExMTExITAwMDghNDBDOC40MkEwOmU1ZTU3Y2I1LWVhOWItNGFlMC1iYzQ1LTE0Y2NmYWE4NDZiMA==

grant_type=authorization_code&code=fde67d0a-eb96-4e76-ac5f-4e0dc1fb3d4b&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam

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

{"access_token":"b469fb45-571a-4071-8017-a122c09ce1e5","token_type":"bearer","expires_in":3599,"refresh_token":"7caea729-b3bc-4df7-bb9a-c5c9db8b17a1","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCE0MEM4LjQyQTAiLCJleHAiOjEzNzg3ODUyMTcsImlhdCI6MTM3ODc4MTYxNywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.bFS7Q2BYb_uJCyNUw5vMIYpTuMliJPChjXzjaavZzcGS6sNAYj-SgdIWMXieG3xTye0S3ZO4vL3BEvnD-AZ-QGdq5aIpzv0xgpTqxzZ2W9h79tYE6csBkJuZE3A7Lw8VpIhxu2I4s_n5e77yONnSoMbqkTnFyAV1-fqaZOLTAwdiDCFUG0Xqm_n0pyiRGUHkD0eAFd98zQEBDSM-bcT-RMRHQMCZsdlajWf6nXkKik_23O1aF6AwFYRBEGvI9vSD_3eIIRSUKL-Z7l26QDYGDHRM1-of3FWsDbMooYYVbp4lpoaTbCDrQmf2nX0z5zELXC7q2Pbr_Q58s63HG44iQA"}

#######################################################
TEST: OC5:FeatureTest-Providing ID Token with max age Restriction (JWT Authorization Request)
#######################################################
-------------------------------------------------------
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",
        "id_token"
    ],
    "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!2937.7E19",
    "client_secret": "6290072e-1f64-4fc8-b4df-e9a548ab7268",
    "registration_access_token": "4b430592-f6e4-44aa-bb2f-8bf5c491c1dd",
    "registration_client_uri": "https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/register?client_id=@!1111!0008!2937.7E19",
    "client_id_issued_at": 1378781618,
    "client_secret_expires_at": 1378868018,
    "response_types": [
        "code",
        "id_token"
    ],
    "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+id_token&client_id=%40%211111%210008%212937.7E19&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&state=STATE_XYZ&nonce=bce896cb-4df8-447a-8c91-3c6c8f09af7e

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#code=baea87b6-2957-405d-a54b-366e4be28700&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEyOTM3LjdFMTkiLCJleHAiOjEzNzg3ODUyMjUsImlhdCI6MTM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P7HvswTWwEDmQIPmDfQbJblGuR26SItMpXDoG_iyaxpqNxBbqGi84l3Pvg&auth_level=10&auth_mode=basic&session_id=cb2bd0b8-821f-4a84-99ad-a772fa9a113c&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 QCExMTExITAwMDghMjkzNy43RTE5OjYyOTAwNzJlLTFmNjQtNGZjOC1iNGRmLWU5YTU0OGFiNzI2OA==

grant_type=authorization_code&code=baea87b6-2957-405d-a54b-366e4be28700&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam

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

{"access_token":"22c18154-9120-46de-b185-dc4bdc489cc8","token_type":"bearer","expires_in":3599,"refresh_token":"8b138b0f-c206-427f-a9f4-eda699d2ad5d","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEyOTM3LjdFMTkiLCJleHAiOjEzNzg3ODUyMjcsImlhdCI6MTM3ODc4MTYyNywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.bxK0RN42fuiYRACIIDM0PkiCw_myzedZGnl9pdOtQkssbh04tuuar8NekDXobNbGTQC_0KtWRnLYpDyNi1RAIQ6M21NpImQy2Hz2dI9sPCjNsswN1Mb23gSQvYXnTXAuAaOCFFah2-vTpulWiWfK6prWGOpC9cpgHT1eLItBk9tTy3Kr1bIiDipXWBMYv3EGDSzwYtzorTn8fLDjbTIS9ihvMFE11cPCxxURGcb7L0gLo7k4v3zNebM3q_rZ21PhBBp8M_pJ8JFnlagMKiX6IJhgUEffk1xp9uk7K3kYHxVAl7Yb3e1WyJK6ZOezwON6Dvb_hdHPIL7aItLvIOIidQ"}

-------------------------------------------------------
REQUEST:
-------------------------------------------------------
https://seed.gluu.org/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code+id_token&client_id=%40%211111%210008%212937.7E19&scope=openid+profile+address+email&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam&state=STATE_XYZ&nonce=65d131a4-51ff-422c-aad7-152971ea30c8&request=eyJ0eXAiOiJKV1MiLCJhbGciOiJIUzI1NiJ9.eyJyZXNwb25zZV90eXBlIjpbImNvZGUiLCJpZF90b2tlbiJdLCJjbGllbnRfaWQiOiJAITExMTEhMDAwOCEyOTM3LjdFMTkiLCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwiYWRkcmVzcyIsImVtYWlsIl0sInJlZGlyZWN0X3VyaSI6Imh0dHBzJTNBJTJGJTJGc2VlZC5nbHV1Lm9yZyUyRm94YXV0aC1ycCUyRmhvbWUuc2VhbSIsIm5vbmNlIjoiNjVkMTMxYTQtNTFmZi00MjJjLWFhZDctMTUyOTcxZWEzMGM4Iiwic3RhdGUiOiJTVEFURV9YWVoiLCJ1c2VyaW5mbyI6e30sImlkX3Rva2VuIjp7Im1heF9hZ2UiOjMwfX0.A5hKXG_PVzUFVcgUWsB95SCOv_m2zVTaf6mRkrqvmGU&session_id=cb2bd0b8-821f-4a84-99ad-a772fa9a113c

-------------------------------------------------------
RESPONSE:
-------------------------------------------------------
HTTP/1.1 302 Found
Location: https://seed.gluu.org/oxauth-rp/home.seam#code=feedd30b-4b4c-44bf-83f1-3bf30248c263&id_token=eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEyOTM3LjdFMTkiLCJleHAiOjEzNzg3ODUyOTQsImlhdCI6MTM3ODc4MTY5NCwic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJub25jZSI6IjY1ZDEzMWE0LTUxZmYtNDIyYy1hYWQ3LTE1Mjk3MWVhMzBjOCIsImF1dGhfdGltZSI6MTM3ODc4MTY5MSwiY19oYXNoIjoiRVU4dFE0MjR2dHVwN083LTh5UUJQdyIsIm94VmFsaWRhdGlvblVSSSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2NoZWNrX3Nlc3Npb24iLCJveE9wZW5JRENvbm5lY3RWZXJzaW9uIjoib3BlbmlkY29ubmVjdC0xLjAiLCJyZWdpb24iOiJUZXhhcyIsInBpY3R1cmUiOiJodHRwOi8vd3d3LmdsdXUub3JnL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDEyLzA0L21pa2UzLnBuZyIsInpvbmVpbmZvIjoiQW1lcmljYS9DaGljYWdvIiwiZW1haWwiOiJtaWtlQGdsdXUub3JnIiwibG9jYWxlIjoiZW4tdXMiLCJuYW1lIjoiTWljaGVhbCBTY2h3YXJ0eiIsImxvY2FsaXR5IjoiQXVzdGluIiwiZmFtaWx5X25hbWUiOiJTY2h3YXJ0eiIsInN0cmVldF9hZGRyZXNzIjoiNjIxIEVhc3QgNnRoIFN0cmVldCIsImdpdmVuX25hbWUiOiJNaWNoYWVsIiwiY291bnRyeSI6IlVTIn0.Lk4xwqzg9jrzesf6BjzyInHmj9VSGWLK2To_4QCYwMCe6MUNvZjJ3x_glJ1KlDInsqE7NlIBn9Y2kfK6RaDUrbAgZy01JJry2JWhVWnRrg6JWXr3KKR3Bi_KUynftK3_o_eIXyeAAa4SDWdapx6tdX-twe68M6Bo0EgybFV3HrLZ8u3fycN7A5qkJbPd8kmzKqHpnpAO5NvLAXuRHH-2kgPbJ1TJQktxnMIhsmhf5DOjSFUQ-4u3HMXk33lGYVi0HcU8ythsvQ_oZNDLDXTnQAvhvspE3YEDqvsNumZMBK3btF1lt3v3Zcpy9oKe2KgLO9jYqGBIx_qRA55lHzutQg&auth_level=10&auth_mode=basic&session_id=96d7077c-dbb1-4001-b220-8e8315ea5f20&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 QCExMTExITAwMDghMjkzNy43RTE5OjYyOTAwNzJlLTFmNjQtNGZjOC1iNGRmLWU5YTU0OGFiNzI2OA==

grant_type=authorization_code&code=feedd30b-4b4c-44bf-83f1-3bf30248c263&redirect_uri=https%3A%2F%2Fseed.gluu.org%2Foxauth-rp%2Fhome.seam

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

{"access_token":"820daad4-960c-4100-9abb-ceabde38cdca","token_type":"bearer","expires_in":3599,"refresh_token":"787c142d-8383-458d-a05e-d0f5bfa852b3","id_token":"eyJ0eXAiOiJKV1MiLCJhbGciOiJSUzI1NiIsImprdSI6Imh0dHBzOi8vc2VlZC5nbHV1Lm9yZy9veGF1dGgvc2VhbS9yZXNvdXJjZS9yZXN0djEvb3hhdXRoL2p3a3MiLCJraWQiOiIxIn0.eyJpc3MiOiJodHRwczovL3NlZWQuZ2x1dS5vcmciLCJhdWQiOiJAITExMTEhMDAwOCEyOTM3LjdFMTkiLCJleHAiOjEzNzg3ODUyOTcsImlhdCI6MTM3ODc4MTY5Nywic3ViIjoibWlrZSIsIm94SW51bSI6IkAhMTExMSEwMDAwIUQ0RTciLCJveFZhbGlkYXRpb25VUkkiOiJodHRwczovL3NlZWQuZ2x1dS5vcmcvb3hhdXRoL3NlYW0vcmVzb3VyY2UvcmVzdHYxL294YXV0aC9jaGVja19zZXNzaW9uIiwib3hPcGVuSURDb25uZWN0VmVyc2lvbiI6Im9wZW5pZGNvbm5lY3QtMS4wIn0.hmBGVpghTJGbpToIsXKqFB44EhsSMdP_74eDa7bqFZXVy0kYwKTgH50rXKHcqhM9zifK1K8kx_Cpoe8NWiSeZxK7ugIEcQF95rWywV_PfijJ0wL7Ck8HeXiHmQ1a6XbLRyd2OVBLRJcwHLBDhEHkF4SXNX8I2FPeKH737tPveNKI_RB8IibCzoJ1Tu4z5JZ5oFw7cDdmCk6sXzgp-9uxCAMXrz9o3IKZYi-VvevP8d0bwVLUE_eQNIKOidTysq16C-_dX3Aqr2AtaHI4dquqvlSS9wg2jDtch9FbN7gR-hiuElUeIM7uzDvQ7LD5tv_53IrY7ah91VHXzvXjERw9zQ"}


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

Back To

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