Include provider type in auth token response (#72560)

This commit is contained in:
Paulus Schoutsen
2022-05-27 11:33:37 -07:00
parent 370e4c53f3
commit f8e300ffbe
2 changed files with 16 additions and 4 deletions
+1
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(