Releases: tinyauthapp/tinyauth
v2.0.0-beta.1
fix: configure secrets before config validation
v2.0.0-alpha.1
chore: update readme
v1.0.0
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.
v1.0.0-beta.3
fix: pass cookie expiry to api config
v1.0.0-beta.2
refactor: simplify cookie secure logic
v1.0.0-beta.1
chore: disable cgo
v1.0.0-alpha.1
refactor: log errors
v0.3.0
Tinyauth v0.3.0
Hello everyone, this is a new tinyauth release adding some cool features. I focused on cleaning up some parts of the code and using dependency injection instead of passing props around to make the code more readable. This also allows me to easily implement oauth.
New features
- Create user command
- Verify user command
- Option to send cookie only through https
Improvements
- Use dependency injection pattern to make the code more readable
Fixes
- Split
APP_URLcorrectly so that the cookie is not set for the root domain if subdomains are being used
v0.3.0-beta.3
fix: use password hash instead of password when verifying
v0.3.0-beta.2
refactor: change cmd to entrypoint