Dash auth on selected pages

Hi there,

I do not have a software developer background, but I am building a simple multi page website using dash in python (it is a single app with multiple pages).

I would like to put some authentication only to some pages via a login and let others free to all users.

I manage to put in place a general log in for the whole site using the dash-auth, but I am not sure if there is a simple way to do it only to some pages.

Basically I would like the log-in not to pop up when I access to the site (so that things like google-analytics works), but the log in should pop up only when I try to go to some selected pages.

Thanks in advance for any suggestions!