Customize OpenIddict route/endpoint matching

66 Views Asked by At

How does one customize the endpoint/route detection in OpenIddict 5.0? For example, if I wanted to listen on multiple token endpoints or to look inside the request data before matching?

In 3.x it was apparently possible to do this:

options.AddEventHandler<OpenIddictServerEvents.MatchEndpoint>(notification =>

But in 5.x the OpenIddictServerEvents.MatchEndpoint event does not exist anymore and I cannot find a similar one. What is the new approach to this?

0

There are 0 best solutions below