Basic Auth with Multi-Page apps... incompatible?

Hello @iianmr,

Basic Auth does have its limitations.

You can use something like @PipInstallPython mentioned, or you can use something like this:

Be sure you read through the comments.

Also, you can lock down the entire application of dash and expose only a simple login page from flask to create a logged in user for authentication for the application.

Using flask_login allows for some nice flexibility and customizations for the logged in user, as well as being able to log sessions and maybe even perhaps 2FA.

Basic Auth, anyone with the password gets in automatically, no verification, etc.

4 Likes