EDIT: I restored an old backup and it went back to how it was from there.
I can’t seem to revert back to the default homeassistant login after setting up legacy_api_password. I changed my configuration.yaml to be:
homeassistant:
auth_providers:
- type: homeassistant
But if I log out of the Legacy API password user, it only gives me the legacy api login screen again. I removed all legacy_api_password information, including the https_password from secrets. It has also locked me out from logging in as my regular user on the iOS app. Any ideas?
edit: looking at my logs, I’m seeing this issue:
2022-07-11 01:19:16 ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle resp = await handler(request) File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle result = await result File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 94, in handle_req resp = await func(view, request, *args, **kwargs) File "/usr/src/homeassistant/homeassistant/components/auth/__init__.py", line 214, in post return await self._async_handle_refresh_token(hass, data, request.remote) File "/usr/src/homeassistant/homeassistant/components/auth/__init__.py", line 339, in _async_handle_refresh_token access_token = hass.auth.async_create_access_token( File "/usr/src/homeassistant/homeassistant/auth/__init__.py", line 505, in async_create_access_token self.async_validate_refresh_token(refresh_token, remote_ip) File "/usr/src/homeassistant/homeassistant/auth/__init__.py", line 550, in async_validate_refresh_token if provider := self._async_resolve_provider(refresh_token): File "/usr/src/homeassistant/homeassistant/auth/__init__.py", line 537, in _async_resolve_provider raise InvalidProvider( homeassistant.auth.InvalidProvider: Auth provider homeassistant, None not available