Skip to content

Commit 36ad133

Browse files
Add OnTicketReceived event to OIDC documentation
Documented the `OnTicketReceived` event in OpenID Connect handler. Includes details on its purpose, trigger points, use cases for authentication ticket customization, and related diagnostics.
1 parent 5e9697a commit 36ad133

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/content/docs/identityserver/fundamentals/openid-connect-events.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ identity provider. Understanding the direction of these events can help you dete
7777
| `OnTokenResponseReceived` | **Incoming** |
7878
| `OnTokenValidated` | **Incoming** |
7979
| `OnUserInformationReceived` | **Incoming** |
80+
| `OnTicketReceived` | **Incoming** |
8081
| `OnPushAuthorization` (**.NET 9+ only**) | **Outgoing** |
8182

8283
## Commonly Subscribed Events
@@ -174,6 +175,15 @@ For ASP.NET Core developers, the most commonly subscribed events are:
174175
endpoint.
175176
- **Commonly subscribed**: Sometimes, if extra claims processing is required.
176177

178+
### OnTicketReceived
179+
180+
- **When called**: Invoked after the OpenID Connect authentication flow is complete and before the authentication ticket
181+
is returned.
182+
- **How often**: Called once per successful authentication flow completion.
183+
- **Example use case**: Modify the final authentication ticket, perform additional validation, or execute custom logic
184+
before completing the authentication process.
185+
- **Commonly subscribed**: Sometimes, when final authentication customization is needed before completing the flow or for diagnostics and troubleshooting purposes.
186+
177187
### OnPushAuthorization
178188

179189
- **When called**: Invoked before sending authorization parameters using the Pushed Authorization Request (PAR)

0 commit comments

Comments
 (0)