philippjfr — Discord
I think the best place is here panel/panel/auth.py at main · holoviz/panel
Basically you'd check if handler.request.uri is one of the valid paths and then return 'guest' even when no user cookie is defined.
Oh and for the basic auth you'd do the same on that handler's get_user function.
See https://discourse.holoviz.org/t/landing-page-with-oauth/6256/2
or another suggestion is to change the user: