Skip to content

Commit

Permalink
Add expires_at and remove connection args from passwordless session
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick_Liao committed Aug 3, 2023
1 parent f224dda commit 1a6150c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions workos/passwordless.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a6150c

Please sign in to comment.