OC4:FeatureTest-Can Make Access Token Request with client secret post Authentication
From OSIS Open Source Identity Systems
{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-Can Make Access Token Request with client secret post Authentication}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:Can Make Access Token Request with client_secret_post Authentication|{{#if:{{#var:DtArticleSortKey}}||}}}}{{#ifeq:{{#var:header}}|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=FeatureTest,from={{#var:page}},namespace=OC4|copy]] [[Special:Call/DT Articles list XML,type=FeatureTest,title={{#var:page}},namespace=OC4|as XML]] edit |
{{#if:|Feature Test |Feature Test }} | Can Make Access Token Request with client_secret_post Authentication |
Test Type | bgcolor={{{color}}}}}|normal |
Identifier | bgcolor={{{color}}}}}|FTR-rp-tok-cspost |
Description | bgcolor={{{color}}}}}|Send Access Token Request with client_secret_post Authentication |
Role tested | bgcolor={{{color}}}}}|RP |
Known Successful Reference Solution(s) | bgcolor={{{color}}}}}|{{ #if: | [[OC4:]]}}{{ #if: | [[OC4:]]}} {{ #if: | }} {{ #if: | }} |
Success Criteria | bgcolor={{{color}}}}}|Works |
Failure Criteria | bgcolor={{{color}}}}}|Fails |
Features Proven
{{#dpl:debug=1
|resultsheader=\n |noresultsheader= {|\n|bgcolor=#eeeeee|No matching Feature found.\n|}\n |category=Feature |namespace=OC4 |linksto=OC4:FeatureTest-Can Make Access Token Request with client secret post Authentication |nottitlematch = Feature.edit |include={Feature}.viewfromtest |includematch=/FeatureTest-Can Make Access Token Request with client secret post Authentication/s |table=class=sortable,-,Feature,feature_type,solution_role
}}
Instructions
- Open the result page for your solution and this test.
- Use the OP http://www.kodtest.se:8088/ . This OP supports provider info discovery and client registration. In order to do this type of authentication you need a client_secret the only way you can get it with this setup is to do a client registration. Once you have done that will have to authenticate before doing the access token request. So an authorization request with response_type="code" is necessary. The username/password use for the login is diana/krall. The response to the access token request should be a JSON structure containing among other things an access_token.
- Set outcome in the results page:
- If the success criteria was met, set the outcome to "Works".
- If the test failed, set the outcome to "Failed" and enter information about the failure in the Notes section.
- If other issues occurred set the result to "Issues" and describe them in the Notes section.
- Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
- Update the Date Tested, Browser, and Operating System lines of the results page.