sebadob / rauthy

OpenID Connect Single Sign-On Identity & Access Management
https://sebadob.github.io/rauthy/
Apache License 2.0
297 stars 15 forks source link

Swagger UI improvements #515

Closed sebadob closed 1 month ago

sebadob commented 1 month ago

I am not really happy with how the Swagger UI currently works. It should be more straight forward to use and not need additional config to expose it (securely).

The options to only show it to rauthy admins are very limited without doing additional checks in middlewares. I added a working check, but this fails when someone changes the cookie to a non-host one with a path restriction.

I kept the code snipped as a TODO and am thinking about a nicer solution for this problem.

Aparm from this, the Try Out function has been limited to GET only to avoid confusion why it does not work for other actions. I also added a link to the Rauthy book in the description.