You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comment to passerby attempting to use the demo token. The format is { pk: 'XXXXX' } so if you were trying to auth user 1 with code 111111, it would be:
'PASSWORDLESS_DEMO_USERS': { 1: '111111' }
It's also important to note that you must first create a token by sending the typical POST to auth/email. Then you can use the demo token to get an auth token back.
curl -X POST -d "email=emailaddress" https://domain/auth/email
# {"detail":"A login token has been sent to your email."}
# Then!
curl -X POST -d "email=emailaddress&token=111111" https://domain/auth/token/
Note: You may wish to use a version of drfpasswordless that includes the fix here: #88
The text was updated successfully, but these errors were encountered:
A comment to passerby attempting to use the demo token. The format is { pk: 'XXXXX' } so if you were trying to auth user 1 with code 111111, it would be:
It's also important to note that you must first create a token by sending the typical POST to auth/email. Then you can use the demo token to get an auth token back.
Note: You may wish to use a version of drfpasswordless that includes the fix here: #88
The text was updated successfully, but these errors were encountered: