@@ -30,7 +30,7 @@ Email to aaron@email.com:
30
30
Return Stage
31
31
32
32
``` bash
33
- curl -X POST -d " token=815381" localhost:8000/callback/auth/
33
+ curl -X POST -d " email=aaron@example.com& token=815381" localhost:8000/callback/auth/
34
34
35
35
> HTTP/1.0 200 OK
36
36
> {" token" :" 76be2d9ecfaf5fa4226d722bzdd8a4fff207ed0e”}
@@ -145,8 +145,7 @@ PASSWORDLESS_AUTH = {
145
145
}
146
146
` ` `
147
147
148
- You’ll also need to set up an SMTP server to send emails (` See Django
149
- Docs < https://docs.djangoproject.com/en/1.10/topics/email/> ` __), but for
148
+ You’ll also need to set up an SMTP server to send emails but for
150
149
development you can set up a dummy development smtp server to test
151
150
emails. Sent emails will print to the console. ` Read more
152
151
here. <https://docs.djangoproject.com/en/3.0/topics/email/#console-backend>` __
@@ -232,10 +231,10 @@ DEFAULTS = {
232
231
' PASSWORDLESS_AUTH_TYPES' : [' EMAIL' ],
233
232
234
233
# URL Prefix for Authentication Endpoints
235
- ' PASSWORDLESS_AUTH_PREFIX' : ' auth' ,
234
+ ' PASSWORDLESS_AUTH_PREFIX' : ' auth/ ' ,
236
235
237
236
# URL Prefix for Verification Endpoints
238
- ' PASSWORDLESS_VERIFY_PREFIX' : ' auth' ,
237
+ ' PASSWORDLESS_VERIFY_PREFIX' : ' auth/verify/ ' ,
239
238
240
239
# Amount of time that tokens last, in seconds
241
240
' PASSWORDLESS_TOKEN_EXPIRE_TIME' : 15 * 60,
0 commit comments