We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6dec10 commit b7d05cfCopy full SHA for b7d05cf
1 file changed
pyoverkiz/client.py
@@ -259,7 +259,7 @@ async def somfy_tahoma_get_access_token(self) -> str:
259
"""
260
# Request access token
261
async with self.session.post(
262
- SOMFY_API + "/oauth/oauth/v2/token",
+ SOMFY_API + "/oauth/oauth/v2/token/jwt",
263
data=FormData(
264
{
265
"grant_type": "password",
@@ -303,7 +303,7 @@ async def refresh_token(self) -> None:
303
# &grant_type=refresh_token&refresh_token=REFRESH_TOKEN
304
305
306
307
308
309
"grant_type": "refresh_token",
0 commit comments