Difference between revisions of "OC5:FeatureTest-Requesting UserInfo Claims with claims Request Parameter"
From OSIS Open Source Identity Systems
m (1 revision) |
(request object -> claims request) |
||
Line 1: | Line 1: | ||
{{FeatureTest | {{FeatureTest | ||
− | |name = Requesting UserInfo Claims with | + | |name = Requesting UserInfo Claims with claims Request Parameter |
|testtype = normal | |testtype = normal | ||
|identifier = FTR-rp-reqobj | |identifier = FTR-rp-reqobj | ||
|areatested = | |areatested = | ||
|status = active | |status = active | ||
− | |summary = Request | + | |summary = Request name and email claims using claims request parameter |
|testedrole = RP | |testedrole = RP | ||
|referencesolution1 = | |referencesolution1 = | ||
|referencesolution2 = | |referencesolution2 = | ||
− | |success = Displays claims returned that were requested with an | + | |success = Displays claims returned that were requested with an claims request parameter |
|failure = Fails | |failure = Fails | ||
}} | }} | ||
# Open the result page for your solution and this test. | # 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. When you issue the authorization request you | + | # Use the OP http://www.kodtest.se:8088/ . This OP supports provider info discovery and client registration. When you issue the authorization request you use the "claims" request parameter containing for instance {"userinfo": {"name": {"essential": True}, "email": null}} . To verify that the OP acted on the claims specification you have to do a Userinfo request and check that there it contains a name claim. |
# Set outcome in the results page: | # Set outcome in the results page: | ||
## If the success criteria was met, set the outcome to "Works". | ## If the success criteria was met, set the outcome to "Works". |
Revision as of 15:32, 11 June 2014
{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-Requesting UserInfo Claims with claims Request Parameter}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:Requesting UserInfo Claims with claims Request Parameter|{{#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=OC5|copy]] [[Special:Call/DT Articles list XML,type=FeatureTest,title={{#var:page}},namespace=OC5|as XML]] edit |
{{#if:|Feature Test |Feature Test }} | Requesting UserInfo Claims with claims Request Parameter |
Test Type | bgcolor={{{color}}}}}|normal |
Identifier | bgcolor={{{color}}}}}|FTR-rp-reqobj |
Description | bgcolor={{{color}}}}}|Request name and email claims using claims request parameter |
Role tested | bgcolor={{{color}}}}}|RP |
Known Successful Reference Solution(s) | bgcolor={{{color}}}}}|{{ #if: | [[OC5:]]}}{{ #if: | [[OC5:]]}} {{ #if: | }} {{ #if: | }} |
Success Criteria | bgcolor={{{color}}}}}|Displays claims returned that were requested with an claims request parameter |
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=OC5 |linksto=OC5:FeatureTest-Requesting UserInfo Claims with claims Request Parameter |nottitlematch = Feature.edit |include={Feature}.viewfromtest |includematch=/FeatureTest-Requesting UserInfo Claims with claims Request Parameter/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. When you issue the authorization request you use the "claims" request parameter containing for instance {"userinfo": {"name": {"essential": True}, "email": null}} . To verify that the OP acted on the claims specification you have to do a Userinfo request and check that there it contains a name claim.
- 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.