A safe way to authenticate users in production?

I’m developing an app, that i want to deploy in production. Safety is really important, is there a production ready component for authentications ?
Also suppose an user somehow logs in, is it safe to store the current logged in user in a cookie ?

Hey @NoNeuronsNoStress,

Thanks for sharing this question and sorry for the delayed reply.

The short answer is no – Streamlit doesn’t have a built-in authentication feature or specific component that we’re able to recommend developers use in production.

However, there are many community-created components in this area that you may want to check out:

If you search “auth” in the search bar of the components explorer app, there are quite a few other options as well.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.