v5.0.5

tinyauthapp/tinyauthv5.0.5Apr 1, 2026by steveiliop56

AI Summary

This patch addresses a security vulnerability in the OAuth flow and rewrites proxy handling code to improve compatibility with Nginx and Envoy proxy servers.

Key Highlights

  • Security fix for OAuth flow vulnerability (GHSA-9q5m-jfc4-wc92)
  • Rewritten proxy handling for Nginx and Envoy support
  • Improved browser detection based on User-Agent header
  • OAuth now supports multiple simultaneous login attempts

New Features

  • OAuth now supports multiple simultaneous login attempts
  • Improved proxy support with new proxy-specific modules
  • Automatically rate-limit entire instance on multiple login attempts
  • Allow root-level domains as app URL for testing purposes
  • Attempt to extract context only on routes that need it

Full Release Notes

# Tinyauth v5.0.5

This patch addresses a vulnerability in the OAuth flow discovered by @kq5y, for more information see [GHSA-9q5m-jfc4-wc92](https://github.com/steveiliop56/tinyauth/security/advisories/GHSA-9q5m-jfc4-wc92). Additionally, most of the proxy handling code has been rewritten to work better with proxies other than Traefik like Nginx which uses `auth_request` and Envoy which uses `ext_authz`.

> [!WARNING]
> This release contains a security fix, please update as soon as possible.

> [!NOTE]
> For Envoy/Istio users, you may need to include `user-agent` in your `includeRequestHeadersInCheck` config to get browser detection working.
## Improvements

- OAuth now supports multiple simultaneous login attempts 
- Improved browser detection based on the `User-Agent` header
- Improved proxy support with new proxy-specific modules
- Automatically rate-limit entire instance on multiple login attempts
- Allow root-level domains as app URL for testing purposes
- Attempt to extract context only on routes that need it
 
## Fixes

- Fix proxy controller not extracting request information from Nginx deployments

## Technical

- Update dependencies
- Update translations
- Fix wrong tag being used for metadata in release workflow @jacekkow
- Rework controller tests for much more thorough, robust and extensible testing

Please let me know of any issues so I can fix them as soon as possible.

## New Contributors

- @jacekkow made their first contribution in https://github.com/steveiliop56/tinyauth/pull/725

**Full Changelog**: https://github.com/steveiliop56/tinyauth/compare/v5.0.4...v5.0.5