github christiaangoossens/hass-oidc-auth v1.3.0

29 minutes ago

Warning

This release includes security fixes, including one rated 'Moderate'. Please update as soon as you are able to.

What's Changed

  • Translated login pages, starting with the German language (#380). You can submit additional translations through a PR (for both the UI config, as well as the login pages).
  • Two new settings:
    • Requiring an existing user for login, in YAML and the UI (#387)
    • A read-only group, YAML only (#424)
  • The identity provider error is now shown when you deny access or if something goes wrong (#439)
  • Device code sign-in is now more secure. See advisory GHSA-qq92-c2rf-6p3h.
  • A lot of small security and hardening improvements
    • No more script injection into Home Assistant's login page, on any version. On HA 2026.11 and later this uses the new provider hook by @zweckj (home-assistant/core#187167).
    • Fixes for visual glitches (#446 & #445)
    • More reliable device login when connections are dropped. A manual retry link is now also available (#468, #363).
    • Template cache no longer causes a 500 error if interrupted (#451)
    • An error from the identity provider or a mistyped device code no longer throws away your login. "Try again" now continues the login for the app that started it, instead of the web interface.
    • Your configured display name is now used everywhere, including on HA screens.

Additionally, the integration is now continuously tested on all HA releases since 2025.11. This was already the minimum required version, but previously the integration was only tested on the latest stable version when a release was made. Now it is regularly tested against all future and previous versions, starting from 2025.11.

Relevant behavior changes

None of these changes are major, but you might want to be aware of them.

  • Automatic user linking now only happens to a HA user once. A second IdP account with the same username creates a new user or is rejected if 'require existing user' is enabled. If you made a mistake and have to re-link, first delete the old OIDC credential for that user.
  • UI setups now correctly ignore group mappings if it is turned off in the setup. This only affects users created after the update.
  • YAML + UI config ignores the UI entry and shows a setup error in the UI, instead of configuring both in a broken way. YAML config is always preferred.
  • Token checks are now stricter. Your IdP should already send correct responses, but please submit an issue if your sign-in now fails.
  • Dialogs now correctly state that you need to restart HA after changing the UI setup for this integration.

New Contributors

Full Changelog (excluding Renovate)

Full Changelog: v1.2.1...v1.3.0

Don't miss a new hass-oidc-auth release

NewReleases is sending notifications on new releases.