• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Adding Password Prompt to Every Page in Dash App

aayush_saxena

New member
I am trying to add authentication to every page in Dash app using Basic Auth (dash_auth library).

I have added

auth = dash_auth.BasicAuth(
app,
VALID_USERNAME_PASSWORD_PAIRS
)

to app.py. This only shows prompt for index page. When I visit any other page, I get "Access denied" message. I want to have the prompt for username and password exactly like the index page. Please help
 
Back
Top