Skip to content

Commit f316286

Browse files
author
Rohan Jadvani
authored
Add docs for custom redirect_uri when creating passwordless sessions (#45)
1 parent 044a85a commit f316286

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

workos/passwordless.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ def create_session(self, session_options):
2222
Args:
2323
session_options (dict) - An session options object
2424
session_options[email] (str): The email of the user to authenticate.
25+
session_options[redirect_uri] (str): Optional parameter to
26+
specify the redirect endpoint which will handle the callback
27+
from WorkOS. Defaults to the default Redirect URI in the
28+
WorkOS dashboard.
2529
session_options[state] (str): Optional parameter that the redirect
2630
URI received from WorkOS will contain. The state parameter
2731
can be used to encode arbitrary information to help

0 commit comments

Comments
 (0)