The OpenIddict server allows using the standard none, login, consent and select_account by default (required by the core OIDC specification), but additional values, like the new create value, can be added using the new options.RegisterPromptValues(...) API.
Note: as part of this PR, I decided to rename the OpenIddictConstants.Prompts class to OpenIddictConstants.PromptValues to match the name used in that specification. We'll need to mention that in the 5.x -> 6.x migration documentation 😃
Fixes https://github.com/openiddict/openiddict-core/issues/2185.
This PR fully implements the https://openid.net/specs/openid-connect-prompt-create-1_0.html specification published in 2022.
The OpenIddict server allows using the standard
none
,login
,consent
andselect_account
by default (required by the core OIDC specification), but additional values, like the newcreate
value, can be added using the newoptions.RegisterPromptValues(...)
API.Note: as part of this PR, I decided to rename the
OpenIddictConstants.Prompts
class toOpenIddictConstants.PromptValues
to match the name used in that specification. We'll need to mention that in the 5.x -> 6.x migration documentation 😃