jooby icon indicating copy to clipboard operation
jooby copied to clipboard

Pac4jModule: a way to omit /logout and /callback

Open MrRawbin opened this issue 5 months ago • 0 comments

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?

MrRawbin avatar Jan 15 '24 23:01 MrRawbin