Skip to content

Commit 014301e

Browse files
authored
Fix data type for state (#46)
1 parent 371606d commit 014301e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-django-sso-example/sso/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def auth(request):
4444
authorization_url = workos.client.sso.get_authorization_url(
4545
connection=CONNECTION_ID,
4646
redirect_uri=REDIRECT_URI,
47-
state={},
47+
state="state_can_be_any_string",
4848
)
4949
return redirect(authorization_url)
5050

0 commit comments

Comments
 (0)