Include provider type in auth token response (#72560)

This commit is contained in:
Paulus Schoutsen 2022-05-27 10:31:48 -07:00 committed by GitHub
parent d59258bd25
commit a733b92389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View file

@ -81,6 +81,7 @@ async def test_login_new_user_and_trying_refresh_token(hass, aiohttp_client):
assert (
await hass.auth.async_validate_access_token(tokens["access_token"]) is not None
)
assert tokens["ha_auth_provider"] == "insecure_example"
# Use refresh token to get more tokens.
resp = await client.post(