chore(deps): update ghcr.io/steveiliop56/tinyauth docker tag to v5#549
Open
renovate[bot] wants to merge 2 commits intomainfrom
Open
chore(deps): update ghcr.io/steveiliop56/tinyauth docker tag to v5#549renovate[bot] wants to merge 2 commits intomainfrom
renovate[bot] wants to merge 2 commits intomainfrom
Conversation
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.1.0→v5.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
steveiliop56/tinyauth (ghcr.io/steveiliop56/tinyauth)
v5.0.0Compare Source
Tinyauth v5.0.0
Hello everyone,
Today I am thrilled to announce the release of Tinyauth v5, the OIDC release. This version has been in the making for almost 4 months and we can now confidently say that Tinyauth is the tiniest authentication and authorization server! Let's dive into the most exciting new features.
Overview
Unified Config
The main reason this release is a breaking one is the complete configuration overhaul. In previous versions, CLI configuration differed from environment variables causing confusion. Additionally, the code handling the parsing of dynamic config (like the OAuth providers) was fragile and prone to issues. In v5, Tinyauth switched to Traefik's well tested paerser library which allows the configuration to be much more robust. From now on, you can have configuration with environment variables which will look like:
Or CLI flags:
Or even a YAML configuration:
Unfortunately, this means that all previous means of configuration are deprecated and are no longer supported. Please migrate your configuration to the new configuration options as described in the documentation. Migration may be inconvenient, but this unifies configuration permanently and prevents future breaking changes.
Non-Docker Access Controls
A much requested feature for a long time was the ability to configure access controls when not using Docker. The reason this was not possible was the fragile configuration parsing code. Now with the new parser, you can configure ACLs as normal configuration options following the new configuration convention. For example, let's allow only
user1in thefooapp:Restart Tinyauth and you are done. Prefer CLI flags? Sure thing:
OIDC Server
Tinyauth now includes an OIDC implementation (core and discovery) that can either bridge your existing authentication methods (multiple OAuth providers, LDAP) into a single source of truth or act as the authentication gateway for all of your self-hosted apps eliminating the need to configure multiple authentication mechanisms per application.
Following the project's base idea, the OIDC implementation is mostly stateless1 but, unfortunately some persistent storage is required for the app's public and private keys. Fortunately, the keys live in the same directory as your session database so you should already be set. In case you don't have an existing volume, you will need to add one2:
As with the rest of the configuration, clients can be configured with environment variables (or CLI flags):
Finally, you can use your client ID and secret in your app's OIDC configuration alongside with the following URLs:
https://tinyauth.example.com/authorizehttps://tinyauth.example.com/api/oidc/tokenhttps://tinyauth.example.com/api/oidc/userinfoRestart Tinyauth and enjoy!
Automatic Session Refresh
Sometimes, you may be working with an application that doesn't make as frequent requests and results in your session expiring before you can finish your work. Tinyauth now addresses this issue by monitoring the requests and refreshing your session when it's close to expiring but you are still working on something. The max session lifetime and the refresh time are also user-configurable.
LDAP Groups ACLs
If you are running an LDAP server as a source for your Tinyauth users, you may already have user groups in place to manage your users. With v5, Tinyauth can extract the groups from your users and apply them to ACLs. For instance, you can have the
fooapp only allow users that are in thetrustedgroup in your LDAP server.As long as the user is in the
trustedgroup, you are in.For all of this to happen, I would like to say a big thank you to the community for providing ideas, feedback, pull requests and coffee : ).
As always, below are the full release notes.
New Features
subclaim from OAuth providers in theRemote-SubheaderImprovements
Fixes
Technical
Makefileto simplify developmentNew Contributors
Please let me know of any issues so as I can fix them as soon as possible.
Configuration
📅 Schedule: Branch creation - Every minute ( * */1 * * * ) in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Footnotes
Some compromises had to be made for the server to remain stateless. For more information please consult the documentation. ↩
The volume is only required if you need the OIDC server, otherwise you can safely omit it. ↩