Tinyauth v1.0.0
Warning
This is a breaking release, please check the migration steps below.
Hello everyone! This is tinyauth v1.0.0 with full OAuth support! You can now use Google, Github or any generic OAuth provider to login to tinyauth and all of your services. I also decided to change the username/password authentication to email/password to match a regular login screen (this is the breaking part).
Migration instructions
The only migration you need to do is to change your username into an email address, this applies for both USERS
and USERS_FILE
. Here is an example:
user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u
becomes user@example.com:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u
After this simple change just change the tinyauth version to v1.0.0
and it should start up normally.
OAuth Guides
The documentation has been updated to include guides on how to set up OAuth with Google and Github.
Google: https://tinyauth.doesmycode.work/docs/guides/github-oauth.html
Github: https://tinyauth.doesmycode.work/docs/guides/google-oauth.html
Full changelog
Here is the full changelog:
New features
- Support for Google, Github and Generic OAuth providers for authenticating.
- Option to disable continue screen when logging in and immediately redirect to the app.
- Option to set custom expiry for the session cookie.
- Option to whitelist specific email addresses for OAuth.
Improvements
- Every API error is now logged and the user sees an internal server error page instead of the raw response.
Fixes
- Fix the cookie expiry date set to session mode.
- Split app URL correctly.
If you encounter any bugs or issues please let me know to fix them as soon as possible.