Skip to content

Commit 75811d4

Browse files
committed
chores: Use header based auth in examples
1 parent 37d58eb commit 75811d4

File tree

3 files changed

+3
-3
lines changed
  • examples
    • with-django/with-thirdpartyemailpassword/project
    • with-fastapi/with-thirdpartyemailpassword
    • with-flask/with-thirdpartyemailpassword

3 files changed

+3
-3
lines changed

examples/with-django/with-thirdpartyemailpassword/project/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_website_domain():
6565
framework="django",
6666
mode="wsgi",
6767
recipe_list=[
68-
session.init(get_token_transfer_method=lambda _, __, ___: "cookie"),
68+
session.init(),
6969
emailverification.init("REQUIRED"),
7070
thirdpartyemailpassword.init(
7171
providers=[

examples/with-fastapi/with-thirdpartyemailpassword/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_website_domain():
5555
),
5656
framework="fastapi",
5757
recipe_list=[
58-
session.init(get_token_transfer_method=lambda _, __, ___: "cookie"),
58+
session.init(),
5959
emailverification.init("REQUIRED"),
6060
thirdpartyemailpassword.init(
6161
providers=[

examples/with-flask/with-thirdpartyemailpassword/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def get_website_domain():
4848
),
4949
framework="flask",
5050
recipe_list=[
51-
session.init(get_token_transfer_method=lambda _, __, ___: "cookie"),
51+
session.init(),
5252
emailverification.init("REQUIRED"),
5353
thirdpartyemailpassword.init(
5454
providers=[

0 commit comments

Comments
 (0)