jooby
jooby copied to clipboard
Pac4jModule: a way to omit /logout and /callback
I am using the Pac4jModule which works great, but in my current, simple usage of the module I am using direct basic auth, where the username/password credentials need to be included in every request. In this situation, there is nothing to logout since there is no auth state to logout from, and no callback is needed either.
These routes are created for me even though I currently do not need them:
GET /callback
POST /callback
GET /logout
Would it be possible to make the definition of these routes optional?