Skip to content

Commit

Permalink
Merge pull request #550 from tarasov-dev/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock authored Dec 26, 2024
2 parents 9c4f524 + 7ad4c85 commit 5675432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IdentityServer/v7/docs/content/ui/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Duende IdentityServer provides the [authorize interaction response generator]({{

### Built-in AuthorizeInteractionResponseGenerator

To provide custom logic for the authorize endpoint, the recommondation is to derive from the built-in *AuthorizeInteractionResponseGenerator* to inherit all the default logic pertaining to login and consent semantics.
To provide custom logic for the authorize endpoint, the recommendation is to derive from the built-in *AuthorizeInteractionResponseGenerator* to inherit all the default logic pertaining to login and consent semantics.
To augment the built-in logic, override *ProcessLoginAsync* and/or *ProcessConsentAsync* (depending on the nature of the custom logic).
The pattern would be to invoke the base implementation and if the result did not cause a login, consent or error, then the custom logic could be tested to determine if it is desired to prevent SSO and instead force the user to interact in some way (e.g. re-login, trigger MFA, accept a EULA, etc).
The sample below illustrates:
Expand Down

0 comments on commit 5675432

Please sign in to comment.