Closed yuriyz closed 7 years ago
@yuriyz, should all of these content to be written under https://gluu.org/docs/oxd/3.0.1/libraries/java/
and under https://gluu.org/docs/oxd/3.0.1/libraries/java/#uma-get-rpt and #register?
Should I add more content from UMA2 specs?
@jschristie UMA2 will be included in oxd 3.1 and on, not 3.0.1.
@jschristie those are changes to oxd protocol. It means that it has to be reflected in Protocol
page and then of course it has to be reflected in all libs (java, c#, php and others).
For java lib all parameters are ready and described here, so you can prepare docs (it's actually the same with only method/fields renames with respect to changes in protocol) https://github.com/GluuFederation/oxd/tree/master/oxd-common/src/main/java/org/xdi/oxd/common/params
Let me know if something is not clear.
@willow9886, yes i got that, that url is just for the reference of where to add the content. As @yuriyz mentioned, i will have it added to oxd Protocols, under here: https://github.com/GluuFederation/docs-oxd-prod/blob/3.1.0/3.1.0/sources/protocol/index.md
done
UMA 2 spec :
Changes are required for UMA RP commands. All UMA RS Commands are left as is. No changes for
uma_rs_check_access
anduma_rs_protect
commands.Changes:
UMA RP - Get RPT
If
claim_token
parameter is provided thenclaim_token_format
must be provided too. For now we support onlyclaims_token_format=http://openid.net/specs/openid-connect-core-1_0.html#IDToken
Request
Success Response
Needs Info Error Response
Invalid ticket error
Internal oxd server error
UMA RP - Get Claims-Gathering URL
ticket
parameter for this command MUST be newest, in 90% cases it is fromneed_info
error.Request
Success Response
After redirect to claims-gathering url user pass Claims-Gathering Flow and if it is success user is redirected back to
claims_redirect_uri
with new ticket which should be provided with nextuma_rp_get_rpt
call.Example of response
UMA Authorize RPT - REMOVED
uma_rp_authorize_rpt - Removed.
UMA Get GAT - REMOVED
uma_rp_get_gat - Removed
register_site and setup_client commands update
register_site
andsetup_client
commands haveclaims_redirect_uri
.oxd_rp_programming_language
. The value should be programming language that is used by oxd client, for examplejava
,php
,ruby
and so on.Stepped-up authentication
In order to support stepped-up authentication, the AS Claims-Gathering Endpoint must also be specified as valid
redirect_uri
. If user is authenticated at AS it will automatically recognize it. In case user is not authenticated and Claims-Gathering scripts redirect for authentication oxd can register Claims-Gathering Endpoint as clientredirect_uri
, so UMA 2 engine will get control back after successful authentication. This can be enabled/disabled inoxd-conf.json
configuration file withuma2_auto_register_claims_gathering_endpoint_as_redirect_uri_of_client
.Renamed client_logout_uris -> client_frontchannel_logout_uris