Skip to content

Commit

Permalink
fix: try to refresh tokens when http2 auth error
Browse files Browse the repository at this point in the history
The http2 stream is sensitive to auth token errors. Instead of declaring
a bad login immediately, include one attempt to refresh auth tokens.
This may help reduce the frequency of reauth requests but is not
guaranteed.
  • Loading branch information
alandtse committed Oct 8, 2023
1 parent b23f27a commit 4accda1
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 225 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
2 changes: 1 addition & 1 deletion custom_components/alexa_media/manifest.json
448 changes: 226 additions & 222 deletions poetry.lock
2 changes: 1 addition & 1 deletion pyproject.toml

0 comments on commit 4accda1

Please sign in to comment.