Tinyauth v4.0.0
It's been quite a long time, but I am thrilled to announce Tinyauth v4.0.0! It took some time, but it's was definitely worth the wait. The code-base has been significantly revamped with clean code, maintainability and extensibility in mind. Additionally a lot of new features have been added including support for multiple OAuth providers! The release has been extensively tested by the amazing users over in the Discord community and should have no issues (huge thanks to @Rycochet for helping review the code).
Warning
This is a breaking release, please follow the migration guide in the
documentation.
Note
This release includes a small heartbeat to help me get some insights on the user-base of Tinyauth. Only your version will be collected. Read more about it in the telemetry reference.
New Features
- SQLite database for storing sessions
- Warning in UI when current domain doesn't match configured one
- Trusted proxies configuration option (
TRUSTED_PROXIES
/--trusted-proxies
) - File server allowing you to serve static assets like the background image (
RESOURCES_DIR
/--resources-dir
) - Dash substitute for slash in IP labels allowing for CIDR usage in Kubernetes
- Ensure app URL is not in the public suffix list to avoid cookie issues
- Multiple OAuth providers
- Helm chart for Kubernetes deployments
- Health check command
Improvements
- App labels reworked to allow for cleaner ACL configuration
- Improved OAuth auto redirect flow for a more seamless redirection
- Continue screen refactored to a redirect handler removing the need to click extra buttons
- Autofocus TOTP form
- Set page title using
APP_TITLE
environment variable - Add cache in the frontend for faster load times
Fixes
- Disable indexing in the login screen preventing it from appearing in search engines
- Do not allow authentication if Tinyauth fails to get the labels
Technical
- A large part of the code base has been rewritten aiming for cleaner, readable and maintainable code
- Reworked file structure for a better development experience
- Bump dependencies
- Update translations
If you face any issues please do let me know so I can fix them as soon as possible.