generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of invalid tokens (#53)
* Improve handling of invalid tokens This integration is currently failing for me due to an invalid grant. Handle this in `async_setup_entry` so that reauth is triggered. ``` DEBUG (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request failed with status=400, body={"reason":"Invalid Token!","error":"invalid_grant"} ``` * Update __init__.py * Update common.py Co-authored-by: Raman Gupta <[email protected]>
- Loading branch information
1 parent
bc47844
commit ab97699
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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