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:
- 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
- @lucasnz made their first contribution in #387
- @Xitee1 made their first contribution in #380
- @schnillerman made their first contribution in #418
- @balloobbot made their first contribution in #452
- @weltmaister made their first contribution in #424
- @theluckystrike made their first contribution in #439
- @minijaws made their first contribution in a security advisory
- @jmturc made their first contribution in a security advisory
Full Changelog (excluding Renovate)
- Multiple fixes on codes by @christiaangoossens in #409
- Add hashes instead of version params by @christiaangoossens in #414
- Change UI on options dialog to say that restart is required by @christiaangoossens in #415
- Require existing user by @lucasnz in #387
- Add translation support for the server-rendered login pages (with German) by @Xitee1 in #380
- Linting fixes by @christiaangoossens in #416
- Update configuration instructions for Home Assistant by @schnillerman in #418
- Remove jinja2 by @christiaangoossens in #433
- Migrate tests to pytest-homeassistant by @balloobbot in #452
- feat: add optional read-only role mapping by @weltmaister in #424
- Show the provider error on the OIDC callback by @theluckystrike in #439
- Batch of fixes for open issues by @christiaangoossens in #470
- Various fixes by @christiaangoossens in #471
- Bump to 1.3.0 by @christiaangoossens in #472
Full Changelog: v1.2.1...v1.3.0