Include provider type in auth token response (#72560)
This commit is contained in:
parent
d59258bd25
commit
a733b92389
2 changed files with 16 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue