Skip to content

Commit

Permalink
Merge pull request #19 from stephenmaij/feature/fix-for-auth-domain
Browse files Browse the repository at this point in the history
Fix for auth domain change
  • Loading branch information
pwesters authored Oct 4, 2024
2 parents c4dec3f + 79d3890 commit 5d12ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/watts_vision/watts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def getLoginToken(self, forcelogin=False, firstTry=True):
_LOGGER.debug("Getting token called unneeded.")

request_token_result = requests.post(
url="https://smarthome.wattselectronics.com/auth/realms/watts/protocol/openid-connect/token",
url="https://auth.smarthome.wattselectronics.com/realms/watts/protocol/openid-connect/token",
data=payload,
)

Expand Down

0 comments on commit 5d12ad9

Please sign in to comment.