Skip to content

Conversation

@berkes
Copy link

@berkes berkes commented May 14, 2025

The spec does not require the Pushed Authorization Request (PAR) endpoint to be in the authorization server (AS) metadata, yet the wwwallet crashes if this pushed_authorzation_server_endpoint isn't there.

This change makes it optional. It then initiates either a "normal" oidc flow, if the AS doesn't support the PAR. But intitiates a PAR if the server requires it.

This partly fixes issue wwWallet/wallet-frontend#598

An additional PR to now handle the situation where there is no PAR endpoint, is prepared in the wallet-frontend repo.

Inside "our own fork" in wip/verify, we have applied a version on some of the older code that we use in our env, this was merged in wwWallet/wallet-frontend#639 - the code was manually ported from the version at main to our version so the patches are different.

The spec does not require the Pushed Authorization Request (PAR)
endpoint to be in the authorization server (AS) metadata, yet the
wwwallet crashes if this pushed_authorzation_server_endpoint isn't
there.

This change makes it optional. It then initiates either a "normal" oidc
flow, if the AS doesn't support the PAR. But intitiates a PAR if the
server requires it.

This fixes issue #598.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant