Skip to content

Conversation

@awoie
Copy link
Contributor

@awoie awoie commented Aug 8, 2025

Fixes #604

Additionally, and as an editorial change, I added interactive_authorization_endpoint to the AS metadata section, as it was previously missing. I also moved the corresponding normative "SHOULD use the IAE" statement into the AS metadata section, for consistency with how other endpoints are handled.

@awoie awoie requested a review from GarethCOliver August 8, 2025 13:03
@awoie awoie force-pushed the awoie/fix-604 branch 2 times, most recently from f0e4cde to 643fa99 Compare August 12, 2025 18:07
@jogu
Copy link
Contributor

jogu commented Aug 12, 2025

Discussed on today's WG call; Raj offered to review, Paul to re-review.

@Sakurann Sakurann added this to the Final 1.0 milestone Aug 12, 2025

* `pre-authorized_grant_anonymous_access_supported`: OPTIONAL. A boolean indicating whether the Credential Issuer accepts a Token Request with a Pre-Authorized Code but without a `client_id`. The default is `false`.
* `pre-authorized_grant_anonymous_access_supported`: OPTIONAL. A boolean indicating whether the Credential Issuer accepts a Token Request with a Pre-Authorized Code but without a `client_id`. The default is `false`.
* `interactive_authorization_endpoint`: OPTIONAL. URL of the Authorization Server's Interactive Authorization Endpoint. This URL MUST use the https scheme and MAY contain port, path, and query parameter components. If omitted, the Authorization Server does not support the Interactive Authorization Endpoint. If present, the Wallet SHOULD use this endpoint to obtain authorization as defined in (#interactive-authorization-endpoint).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the AS metadata also declare the interaction_types_required or interaction_types_supported? The pattern that the Wallet is sending interaction_types_supported seems uncommon to OAuth from my perspective. I would appreciate that as some form of authentication negotiation over the AS metadata

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this was discussed here #598 but we decided that a dedicated error code is sufficient. We could add an AS metadata for this in the future. IMO, a separate issue. You could ask to reopen the issue if you think this feature is required.

@paulbastian
Copy link
Contributor

may not be directly related to this PR, but I think if we touch the AS metadata in this PR it should be complete. Was this previously discussed?

* `pre-authorized_grant_anonymous_access_supported`: OPTIONAL. A boolean indicating whether the Credential Issuer accepts a Token Request with a Pre-Authorized Code but without a `client_id`. The default is `false`.
* `pre-authorized_grant_anonymous_access_supported`: OPTIONAL. A boolean indicating whether the Credential Issuer accepts a Token Request with a Pre-Authorized Code but without a `client_id`. The default is `false`.
* `interactive_authorization_endpoint`: OPTIONAL. URL of the Authorization Server's Interactive Authorization Endpoint. This URL MUST use the https scheme and MAY contain port, path, and query parameter components. If omitted, the Authorization Server does not support the Interactive Authorization Endpoint. If present, the Wallet SHOULD use this endpoint to obtain authorization as defined in (#interactive-authorization-endpoint).
* `require_interactive_authorization_requests`: OPTIONAL. A boolean indicating whether the Authorization Server accepts Authorization Request that request Credential issuance only via the Interactive Authorization Endpoint defined in (#interactive-authorization-endpoint). If omitted, the default value is `false`. This parameter MUST NOT be present if `interactive_authorization_endpoint` is omitted. Note that the presence of `interactive_authorization_endpoint` is sufficient for a Wallet to determine that it can use the Interactive Authorization Endpoint.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a SHOULD recommendation, that IAE is preferred over normal auth endpoint. Shouldn't the default value be true then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SHOULD recommendation helps wallets to decided whether to use the authorization_endpoint or the interactive_authorization_endpoint whereas the require_interactive_authorization_requests just says that this is the only option. The semantics are different and not entirely related.

@awoie
Copy link
Contributor Author

awoie commented Aug 13, 2025

may not be directly related to this PR, but I think if we touch the AS metadata in this PR it should be complete. Was this previously discussed?

Yes, see above (#598)

Copy link
Contributor

@deshmukhrajvardhan deshmukhrajvardhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few editorial comments. The content and general direction looks good to me.

@jogu jogu added the iae Items related to Interactive Authorization Endpoint label Aug 14, 2025
@Sakurann Sakurann modified the milestones: Final 1.0, 1.1 Aug 21, 2025
@Sakurann
Copy link
Collaborator

Sakurann commented Oct 24, 2025

WG discussion:

Additionally, and as an editorial change, I added interactive_authorization_endpoint to the AS metadata section, as it was previously missing. I also moved the corresponding normative "SHOULD use the IAE" statement into the AS metadata section, for consistency with how other endpoints are handled.
@jogu
Copy link
Contributor

jogu commented Oct 28, 2025

I've updated this to apply to 1.1 spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

iae Items related to Interactive Authorization Endpoint reviews-needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Metadata needed to signal requirement for Interactive Authorization Endpoint

7 participants