Skip to content

Feature/pushed authorization requests - #73

Open
andrewclymer wants to merge 58 commits into
release/3.0.0from
feature/PushedAuthorizationRequests
Open

andrewclymer wants to merge 58 commits into
release/3.0.0from
feature/PushedAuthorizationRequests

Conversation

@andrewclymer

Copy link
Copy Markdown
Collaborator

Description

Initial implementation of PAR. Currently uses an InMemory store for the PAR requests. Looking for feedback and testing of the implementation. Will then work on EF store while this PR is being evaluated

Type of change

  • Bug fix
  • Feature
  • Refactoring
  • Documentation
  • Other

Does this PR introduce a breaking change?

Does the change cause existing functionality to not work as previously expected, or does the DB schema or C# public API surface change?

  • Yes
  • No

Testing

Full set of unit tests and end to end integration test from PAR request through to getting a token

LLM Usage

Used LLM to confirm the code has implemented PAR as per the RFC.

Other context

None

Comment thread src/AspNetIdentity/src/Open.IdentityServer.AspNetIdentity.csproj Outdated
Comment thread src/Open.IdentityServer/src/Endpoints/Results/PushedAuthorizationResult.cs Outdated
Comment thread src/Open.IdentityServer/src/Endpoints/Results/PushedAuthorizationResult.cs Outdated
Comment thread src/Open.IdentityServer/src/Endpoints/PushedAuthorizationEndpoint.cs Outdated
Comment thread src/Open.IdentityServer/src/Endpoints/PushedAuthorizationEndpoint.cs Outdated
@patchandthat

Copy link
Copy Markdown
Collaborator

Missing copyright headers on all your new files.

// Copyright (c) 2026, Rock Solid Knowledge Ltd
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

Or insert on existing files

// Modified by Rock Solid Knowledge Ltd. Copyright in modifications 2026, Rock Solid Knowledge Ltd.

Comment thread src/Storage/src/Stores/IPushedAuthorizationRequestStore.cs Outdated
Comment thread src/Storage/src/Models/PushedAuthorizationMemento.cs
@patchandthat
patchandthat changed the base branch from main to release/3.0.0 September 8, 2026 15:40
Comment thread src/Open.IdentityServer/src/Endpoints/Results/PushedAuthorizationResult.cs Outdated
…ve the code from the decorator for PAR into the main validator and the AuthorizeEndpointBase

Added support for removal of PAR request once the authorization has been granted

Changed ReturnUrlResult so it uses the original raw parameters from the validation object, to ensure any callbacks use the original values, not the ones manipulated by the validation process, e.g. swapping out the original ones and replacing them with the values from a stored PAR
add support for consent with PAR
@andrewclymer
andrewclymer force-pushed the feature/PushedAuthorizationRequests branch from 837026e to df15e32 Compare September 16, 2026 08:29
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.

PAR response generator OAuth 2.0 Pushed Authorization Requests (RFC 9126)

4 participants