Skip to content

Releases: tinyauthapp/tinyauth

v2.0.0-beta.1

26 Jan 19:20

Choose a tag to compare

v2.0.0-beta.1 Pre-release
Pre-release
fix: configure secrets before config validation

v2.0.0-alpha.1

26 Jan 19:00

Choose a tag to compare

v2.0.0-alpha.1 Pre-release
Pre-release
chore: update readme

v1.0.0

25 Jan 18:42

Choose a tag to compare

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

25 Jan 18:08

Choose a tag to compare

v1.0.0-beta.3 Pre-release
Pre-release
fix: pass cookie expiry to api config

v1.0.0-beta.2

25 Jan 17:45

Choose a tag to compare

v1.0.0-beta.2 Pre-release
Pre-release
refactor: simplify cookie secure logic

v1.0.0-beta.1

25 Jan 14:24

Choose a tag to compare

v1.0.0-beta.1 Pre-release
Pre-release
chore: disable cgo

v1.0.0-alpha.1

24 Jan 16:32

Choose a tag to compare

v1.0.0-alpha.1 Pre-release
Pre-release
refactor: log errors

v0.3.0

22 Jan 19:57

Choose a tag to compare

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_URL correctly so that the cookie is not set for the root domain if subdomains are being used

v0.3.0-beta.3

22 Jan 18:25

Choose a tag to compare

v0.3.0-beta.3 Pre-release
Pre-release
fix: use password hash instead of password when verifying

v0.3.0-beta.2

22 Jan 15:36

Choose a tag to compare

v0.3.0-beta.2 Pre-release
Pre-release
refactor: change cmd to entrypoint