-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification on authorization_details for Pre-Authorized Code Flow #242
Comments
Indeed this is confusing for me as well. Reading just the token response requirement
I get the impression that I think thought that this is not the case. Otherwise there is no way, i think, that AS can convey to the wallet I agree with @hesusruiz proposal to specify that |
looks like there are several points...?
|
good question. OAuth allows to request an access token without any scope or authorization details object. In case of a pre authz grant, I would assume a token request without authorization details will request an access token for all credentials authorized by the pre authz code. The wallet can specify authorization details, which makes especially sense if only a sub set of the authorized credentials shall be requested. |
I think the AS could return authorization_details for the pre-auth code even when authorization_details is not in the token request. Essentially as far as I can see we don't specify any details about how that pre-auth code was created, and the issuer would be free to have asked the AS to generate the authz code on the basis of a nominal authorization request that included a 'scope', or on the basis of a nominal authorization request that included an 'authorization_details' |
In my use case (an employee credential with delegated powers from the legal representative of the employer organisation), I feel like I want to return
I would like to have the |
@hesusruiz putting pending-close and closing in a week unless objections, since i believe what you have been asking for has been enabled in #392. |
closing #279 (comment) conditional to "including in the spec the clarification of #242. As a clarification I consider your #242 (comment)" |
Looks good to me. |
I think it would be clarifying to mention explicitly that the Token Request, when using the Pre-Authorized Code Flow, can include an
authorization_details
object of typeopenid_credential
with acredential_configuration_id
.The current text:
does not mention explicitly that the Token Request can indicate the specific credential being requested, via one of the
credential_configuration_id
described in the Credential Offer.This explicit mention could help clear any potential confusion that the reader may have with this text in the Token Response:
Because Section 5.1.1 is inside the Authorization Request section and the reader may understand that it can only be used in that context.
The text was updated successfully, but these errors were encountered: