Add blog post for Local OAuth2 breaking changes (#1290)

This commit is contained in:
Allen Porter 2022-04-16 13:41:14 -07:00 committed by GitHub
parent fe244e7cbc
commit c085255319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
---
author: Allen Porter
authorURL: https://github.com/allenporter
title: "Local OAuth2 Updates"
---
As of Home Assistant Core 2022.5, integrations that register a `config_entry_oauth2_flow.LocalOAuth2Implementation` must have a [manifest dependency](https://developers.home-assistant.io/docs/creating_integration_manifest?_highlight=manifest#dependencies) on the `auth` component.
This is motivated by a broader effort to improve OAuth [Application Credentials](https://github.com/home-assistant/architecture/discussions/692#discussioncomment-2121633) handling, which required changing how the HTTP endpoint for the OAuth callback is registered.