We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6ab893 commit 75d9b30Copy full SHA for 75d9b30
1 file changed
src/workos/session.py
@@ -277,7 +277,7 @@ def get_logout_url(self, return_to: Optional[str] = None) -> str:
277
f"Failed to extract session ID for logout URL: {auth_response.reason}"
278
)
279
280
- return self._client.user_management.authentication.logout(
+ return self._client.user_management.get_logout_url(
281
session_id=auth_response.session_id,
282
return_to=return_to,
283
@@ -456,7 +456,7 @@ async def get_logout_url(self, return_to: Optional[str] = None) -> str:
456
457
458
459
- return await self._client.user_management.authentication.logout(
+ return await self._client.user_management.get_logout_url(
460
461
462
0 commit comments