DuendeSoftware / Samples

Samples for our Products
Other
225 stars 269 forks source link

Add AccessDeniedPath to samples using MS OpenIdConnect middleware #181

Open RolandGuijt opened 5 months ago

RolandGuijt commented 5 months ago

Right now when the cancel button is pressed on the login page an exception occurs. Reason is that by default the access.denied response from IdentityServer is not handled by the middleware. Solution is to add an AccessDeniedPath to the middleware's configuration.

See also: https://github.com/DuendeSoftware/Support/issues/1117