This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
Need to address: Variable flow support #1
Labels
must address
Issue in the specification that must be addressed
Some web, mobile and desktop applications, called "DApps", have the following characteristics:
When used as an Authorization Server, a DApp won't be able to easily provide a Token Endpoint and support response types that include the
code
keyword, leaving support only forid_token
andtoken id_token
response types. If the AS doesn't support the requested response type, it must return anerror=unsupported_response_type
to the client, per the OAuth 2.0 specification.This uncertainty represents both a risk of failure and added out-of-band work for the client to try and guess what flow to request.
Possible workarounds include:
Accept-DIDConnect-Response-Type
HTTP header provided by the RO's user agent to the RP, so that the RP may decide what flow to request. One downside of this approach is that it requires user-agent support. Another downside is that it bloats all requests sent by the user agent to all websites, as the user agent can't know in advance which websites will need that information.unsupported_response_type
error to the first request. One downside is poor user experience, as the user will have to interact twice with the RP.response_type
values such ascode,id_token
andcode,token
, whose respective meanings are "code, otherwise id_token" and "code, otherwise token".The text was updated successfully, but these errors were encountered: