From 1a6150c7ec1d0e51a0b07cf7a66ac18508109b19 Mon Sep 17 00:00:00 2001 From: Patrick_Liao Date: Thu, 3 Aug 2023 12:25:57 -0400 Subject: [PATCH] Add expires_at and remove connection args from passwordless session --- workos/passwordless.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/workos/passwordless.py b/workos/passwordless.py index cebc1745..db953267 100644 --- a/workos/passwordless.py +++ b/workos/passwordless.py @@ -33,10 +33,7 @@ def create_session(self, session_options): restore application state between redirects. session_options[type] (str): The type of Passwordless Session to create. Currently, the only supported value is 'MagicLink'. - session_options[connection] (str): Optional parameter for the ID of a - specific connection. Can be used to create a Passwordless Session - for a specific connection rather than using the domain from the email - to determine the Organization and Connection. + session_options[expires_at] (int): The ISO-8601 datetime at which the session expires. Returns: dict: Passwordless Session