Releases: mkhorasani/Streamlit-Authenticator
Releases · mkhorasani/Streamlit-Authenticator
v0.4.1
- Refactored code base
- Introduced experimental_guest_login feature enabling users to login via OAuth2 with Google and Microsoft 🚀 NEW
- Added single_session parameter to login and experimental_guest_login widgets to limit each individual user to a one session
- Removed pre_authorized list from Authenticate class and added it directly to register_user widget
- Added merge_username_email parameter to register_user widget to combine username into email field
- Added roles field to user credentials
- Added password hint parameter/field to register_user widget and credentials
- Added password_instructions parameter to Authenticate class to provide password requirements instructions to register_user and reset_password widgets
- Added option to provide config file path to Authenticate class as a single parameter instead of providing the credentials, cookie name, cookie key, cookie expiry days, and pre_authorized as separate parameters to the Authenticate class. This eliminates the need to read/update the config file separately, instead, Streamlit-Authenticator will automatically read/update the config file for all operations.
- Fixed Validator parameter bug in Authenticate class
- Addressed double login bug
- Addressed auto_hash parameter bug in Authenticate class
v0.3.3
- Refactored code base
- Added 'unrendered' login functionality for the login widget
- Added 'key' parameter to all widgets to avoid duplicate WidgetID errors
- Added 'callback' parameter to all widgets to invoke developer provided function on successful widget submission
- Added 'captcha' to select widgets
- Allowed developer to upload empty credentials dict with no users
- Allowed developer to disable automatic hashing with the 'auto_hash' parameter in the Authenticate class
- Added 'Hasher.hash_passwords' to allow the developer to pre-hash all plain-test passwords in the credentials
- Allowed user to register with email as username
- Enforced strong password requirements for new users
v0.3.2
- Upgraded to extra-streamlit-components==0.1.70
- Fixed bug related to deleting the re-authentication cookie
- Fixed bug relating to the missing 'max_concurrent_users' attribute
- Added 'max_login_attempts' feature to limit the maximum number of failed login attempts
- Enhanced re-authentication UX by adding a sleep function
- Major refactoring of codebase to allow for future developments
- Hasher module moved to streamlit_authenticator.utilities
- 'preauthorized' key was changed to 'pre-authorized' in the config file and elsewhere
v0.3.1
- Upgraded to Streamlit >= 1.25.0
- Added ability to capture failed login attempts
- Added option to implement logout programmatically without rendering the button
- Enhanced the reauthentication cookie security by removing user's name from the token
- Added option to customize the text of all fields/headers/buttons of all widgets
- Disallowing registration if email is already taken
- Added the option to limit the registration of users to specific domains
- Added option to limit the number of users logged in concurrently
- Enhanced register user widget by returning username, email, and name for a new user
- Added ability to hit the enter button for all widgets instead of clicking on the submit buttons
v0.2.3
- Upgraded Streamlit to >= 1.18.0
- Upgraded Extra-Streamlit_Components to >= 0.1.60
v0.2.2
- Added a unique key for the logout button to prevent duplicate key errors.
v0.2.1
v0.2.1 update
v0.1.5
- Enhanced reauthentication cookie checking
- Featured ability to import credentials and cookie settings from YAML configuration file