Skip to content

Feat/improved prompt handling - #55

Open
equist wants to merge 25 commits into
RockSolidKnowledge:mainfrom
equist:feat/improved-prompt-handling
Open

Feat/improved prompt handling#55
equist wants to merge 25 commits into
RockSolidKnowledge:mainfrom
equist:feat/improved-prompt-handling

Conversation

@equist

@equist equist commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Description

Improvments of prompt and max_age parameter handling.

Type of change

[ ] Bug fix
[ x ] Feature
[ ] Refactoring
[ ] Documentation
[ ] Other

Implementation of feature #54.

Does this PR introduce a breaking change?

[ x ] Yes
[ ] No

The old code ignored unsupported prompt modes, but this implementation returns an error to the client.

Testing

I have fixed an error in an existing integration test.
There are several new integration tests.

LLM Usage

I have not used LLM, except for the extended auto-complete feature primarly used for XML comments.
I used co-pilot to set up some structure for the IdentityServerApplicationBuilderExtensionsTests class.

Other context

I believe this implementation is better aligned with current Duende IdentityServer implementation, but it is a breaking change compared to IdSrv 4 code base which ignored unsupported prompt values.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changes to options classes require documentation updates. The UserInteraction options can be found under /reference/options

Comment thread src/Open.IdentityServer/src/Endpoints/AuthorizeEndpointBase.cs
Comment thread src/Open.IdentityServer/src/Validation/Default/AuthorizeRequestValidator.cs Outdated
Comment thread src/Open.IdentityServer/src/Validation/Default/AuthorizeRequestValidator.cs Outdated
Comment thread src/Open.IdentityServer/src/Constants.cs Outdated
@equist

equist commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

I hope that I have fixed all your comments now. I'm sorry for missing unit tests and I'll do better next time :)

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.

2 participants