{"id":13570498,"url":"https://github.com/aaronn/django-rest-framework-passwordless","last_synced_at":"2026-02-23T06:47:06.772Z","repository":{"id":19067924,"uuid":"86131730","full_name":"aaronn/django-rest-framework-passwordless","owner":"aaronn","description":"Passwordless Auth for Django REST Framework","archived":false,"fork":false,"pushed_at":"2024-07-23T20:33:40.000Z","size":302,"stargazers_count":737,"open_issues_count":54,"forks_count":155,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-10-26T17:26:13.140Z","etag":null,"topics":["authentication","authorization","django","django-rest-framework","passwordless","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-25T04:13:14.000Z","updated_at":"2025-10-02T18:53:40.000Z","dependencies_parsed_at":"2024-06-18T18:04:50.051Z","dependency_job_id":"05825306-5476-4f29-888e-c9637df1e5d4","html_url":"https://github.com/aaronn/django-rest-framework-passwordless","commit_stats":{"total_commits":235,"total_committers":22,"mean_commits":"10.681818181818182","dds":"0.28510638297872337","last_synced_commit":"2604dfbecb64913bdfa9323a10cd0c29b6155d8d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/aaronn/django-rest-framework-passwordless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronn%2Fdjango-rest-framework-passwordless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronn%2Fdjango-rest-framework-passwordless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronn%2Fdjango-rest-framework-passwordless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronn%2Fdjango-rest-framework-passwordless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronn","download_url":"https://codeload.github.com/aaronn/django-rest-framework-passwordless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronn%2Fdjango-rest-framework-passwordless/sbom","scorecard":{"id":159365,"data":{"date":"2025-08-11","repo":{"name":"github.com/aaronn/django-rest-framework-passwordless","commit":"2604dfbecb64913bdfa9323a10cd0c29b6155d8d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":5,"reason":"Found 5/9 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pythonpublish.yml:1","Warn: no topLevel permission defined: .github/workflows/runtests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronn/django-rest-framework-passwordless/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pythonpublish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronn/django-rest-framework-passwordless/pythonpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/runtests.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronn/django-rest-framework-passwordless/runtests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/runtests.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/aaronn/django-rest-framework-passwordless/runtests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish.yml:18","Warn: pipCommand not pinned by hash: .github/workflows/pythonpublish.yml:19","Warn: pipCommand not pinned by hash: .github/workflows/runtests.yml:21","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"35 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: GHSA-5cpq-8wj7-hf2v","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: GHSA-w7pp-m8wf-vj6r","Warn: Project is vulnerable to: GHSA-x4qr-2fvf-3mr5","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: GHSA-8x94-hmjh-97hq","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: GHSA-gw84-84pc-xp82","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2022-202 / GHSA-ffqj-6fqr-9h24","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579","Warn: Project is vulnerable to: GHSA-2m57-hf25-phgg","Warn: Project is vulnerable to: PYSEC-2023-87 / GHSA-rrm6-wvj7-cwh2","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T12:54:08.378Z","repository_id":19067924,"created_at":"2025-08-16T12:54:08.378Z","updated_at":"2025-08-16T12:54:08.378Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29739024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T04:51:08.365Z","status":"ssl_error","status_checked_at":"2026-02-23T04:49:15.865Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","authorization","django","django-rest-framework","passwordless","python3"],"created_at":"2024-08-01T14:00:52.831Z","updated_at":"2026-02-23T06:47:06.732Z","avatar_url":"https://github.com/aaronn.png","language":"Python","readme":"![splash-image]\n![ci-image]\n\ndrfpasswordless is a quick way to integrate ‘passwordless’ auth into\nyour Django Rest Framework project using a user’s email address or\nmobile number only (herein referred to as an alias).\n\nBuilt to work with DRF’s own TokenAuthentication system, it sends the\nuser a 6-digit callback token to a given email address or a mobile\nnumber. The user sends it back correctly and they’re given an\nauthentication token (again, provided by Django Rest Framework’s\nTokenAuthentication system).\n\nCallback tokens by default expire after 15 minutes.\n\nExample Usage:\n==============\n\n```bash\ncurl -X POST -d “email=aaron@email.com” localhost:8000/auth/email/\n```\n\nEmail to aaron@email.com:\n\n```\n...\n\u003ch1\u003eYour login token is 815381.\u003c/h1\u003e\n...\n```\n\nReturn Stage\n\n```bash\ncurl -X POST -d \"email=aaron@example.com\u0026token=815381\" localhost:8000/auth/token/\n\n\u003e HTTP/1.0 200 OK\n\u003e {\"token\":\"76be2d9ecfaf5fa4226d722bzdd8a4fff207ed0e”}\n```\n\nRequirements\n============\n\n- Python (3.7+)\n- Django (2.2+)\n- Django Rest Framework + AuthToken (3.10+)\n- Python-Twilio (Optional, for mobile.)\n\n\nInstall\n=======\n\n1. Install drfpasswordless\n\n   ```\n   pipenv install drfpasswordless\n   ```\n\n2. Add Django Rest Framework’s Token Authentication to your Django Rest\n   Framework project.\n\n```python\n REST_FRAMEWORK = {\n     'DEFAULT_AUTHENTICATION_CLASSES':\n    ('rest_framework.authentication.TokenAuthentication',\n )}\n\n INSTALLED_APPS = [\n     ...\n     'rest_framework',\n     'rest_framework.authtoken',\n     'drfpasswordless',\n      ...\n ]\n```\n\nAnd run\n```bash\npython manage.py migrate\n```\n\n3. Set which types of contact points are allowed for auth in your\n   Settings.py. The available options are ``EMAIL`` and ``MOBILE``.\n\n```python\nPASSWORDLESS_AUTH = {\n   ..\n   'PASSWORDLESS_AUTH_TYPES': ['EMAIL', 'MOBILE'],\n   ..\n}\n```\n\n   By default drfpasswordless looks for fields named ``email`` or ``mobile``\n   on the User model. If an alias provided doesn’t belong to any given user,\n   a new user is created.\n\n   3a. If you’re using ``email``, see the Configuring Email section\n   below.\n\n   3b. If you’re using ``mobile``, see the Configuring Mobile section\n   below.\n\n4. Add ``drfpasswordless.urls`` to your urls.py\n\n```python\n from django.urls import path, include\n\n urlpatterns = [\n     ..\n     path('', include('drfpasswordless.urls')),\n     ..\n ]\n```\n\n5. You can now POST to either of the endpoints:\n\n```bash\ncurl -X POST -d \"email=aaron@email.com\" localhost:8000/auth/email/\n\n// OR\n\ncurl -X POST -d \"mobile=+15552143912\" localhost:8000/auth/mobile/\n```\n   A 6 digit callback token will be sent to the contact point.\n\n6. The client has 15 minutes to use the 6 digit callback token\n   correctly. If successful, they get an authorization token in exchange\n   which the client can then use with Django Rest Framework’s\n   TokenAuthentication scheme.\n\n```bash\ncurl -X POST -d \"email=aaron@email.com\u0026token=815381\" localhost:8000/auth/token/\n\n\u003e HTTP/1.0 200 OK\n\u003e {\"token\":\"76be2d9ecfaf5fa4226d722bzdd8a4fff207ed0e”}\n```\n\nConfiguring Emails\n------------------\n\nSpecify the email address you’d like to send the callback token from\nwith the ``PASSWORDLESS_EMAIL_NOREPLY_ADDRESS`` setting.\n```python\nPASSWORDLESS_AUTH = {\n   ..\n   'PASSWORDLESS_AUTH_TYPES': ['EMAIL',],\n   'PASSWORDLESS_EMAIL_NOREPLY_ADDRESS': 'noreply@example.com',\n   ..\n}\n```\n\nYou’ll also need to set up an SMTP server to send emails but for\ndevelopment you can set up a dummy development smtp server to test\nemails. Sent emails will print to the console. `Read more\nhere. \u003chttps://docs.djangoproject.com/en/3.0/topics/email/#console-backend\u003e`__\n\n```python\n# Settings.py\nEMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'\n```\n\nConfiguring Mobile\n------------------\n\nYou’ll need to have the python twilio module installed\n\n```bash\npipenv install twilio\n```\n\nand set the ``TWILIO_ACCOUNT_SID`` and ``TWILIO_AUTH_TOKEN`` environment\nvariables. These are read from `os.environ`, so make sure you don't put\nthem in your settings file accidentally.\n\nYou’ll also need to specify the number you send the token from with the\n``PASSWORDLESS_MOBILE_NOREPLY_NUMBER`` setting.\n\nTemplates\n=========\n\nIf you’d like to use a custom email template for your email callback\ntoken, specify your template name with this setting:\n\n```bash\nPASSWORDLESS_AUTH = {\n   ...\n  'PASSWORDLESS_EMAIL_TOKEN_HTML_TEMPLATE_NAME': \"mytemplate.html\"\n}\n```\n\nThe template renders a single variable ``{{ callback_token }}`` which is\nthe 6 digit callback token being sent.\n\nContact Point Validation\n========================\n\nEndpoints can automatically mark themselves as validated when a user\nlogs in with a token sent to a specific endpoint. They can also\nautomatically mark themselves as invalid when a user changes a contact\npoint.\n\nThis is off by default but can be turned on with\n``PASSWORDLESS_USER_MARK_EMAIL_VERIFIED`` or\n``PASSWORDLESS_USER_MARK_MOBILE_VERIFIED``. By default when these are\nenabled they look for the User model fields ``email_verified`` or\n``mobile_verified``.\n\nYou can also use ``auth/verify/email/`` or ``/auth/verify/mobile/`` which will\nautomatically send a token to the endpoint attached to the current\n``request.user``'s email or mobile if available.\n\nYou can then send that token to ``/auth/verify/`` which will double-check\nthat the endpoint belongs to the request.user and mark the alias as verified.\n\nRegistration\n============\n\nAll unrecognized emails and mobile numbers create new accounts by\ndefault. New accounts are automatically set with\n``set_unusable_password()`` but it’s recommended that admins have some\ntype of password.\n\nThis can be turned off with the ``PASSWORDLESS_REGISTER_NEW_USERS``\nsetting.\n\nOther Settings\n==============\n\nHere’s a full list of the configurable defaults.\n\n```python\nDEFAULTS = {\n\n    # Allowed auth types, can be EMAIL, MOBILE, or both.\n    'PASSWORDLESS_AUTH_TYPES': ['EMAIL'],\n\n    # URL Prefix for Authentication Endpoints\n    'PASSWORDLESS_AUTH_PREFIX': 'auth/',\n    \n    #  URL Prefix for Verification Endpoints\n    'PASSWORDLESS_VERIFY_PREFIX': 'auth/verify/',\n\n    # Amount of time that tokens last, in seconds\n    'PASSWORDLESS_TOKEN_EXPIRE_TIME': 15 * 60,\n\n    # The user's email field name\n    'PASSWORDLESS_USER_EMAIL_FIELD_NAME': 'email',\n\n    # The user's mobile field name\n    'PASSWORDLESS_USER_MOBILE_FIELD_NAME': 'mobile',\n\n    # Marks itself as verified the first time a user completes auth via token.\n    # Automatically unmarks itself if email is changed.\n    'PASSWORDLESS_USER_MARK_EMAIL_VERIFIED': False,\n    'PASSWORDLESS_USER_EMAIL_VERIFIED_FIELD_NAME': 'email_verified',\n\n    # Marks itself as verified the first time a user completes auth via token.\n    # Automatically unmarks itself if mobile number is changed.\n    'PASSWORDLESS_USER_MARK_MOBILE_VERIFIED': False,\n    'PASSWORDLESS_USER_MOBILE_VERIFIED_FIELD_NAME': 'mobile_verified',\n\n    # The email the callback token is sent from\n    'PASSWORDLESS_EMAIL_NOREPLY_ADDRESS': None,\n\n    # The email subject\n    'PASSWORDLESS_EMAIL_SUBJECT': \"Your Login Token\",\n\n    # A plaintext email message overridden by the html message. Takes one string.\n    'PASSWORDLESS_EMAIL_PLAINTEXT_MESSAGE': \"Enter this token to sign in: %s\",\n\n    # The email template name.\n    'PASSWORDLESS_EMAIL_TOKEN_HTML_TEMPLATE_NAME': \"passwordless_default_token_email.html\",\n\n    # Your twilio number that sends the callback tokens.\n    'PASSWORDLESS_MOBILE_NOREPLY_NUMBER': None,\n\n    # The message sent to mobile users logging in. Takes one string.\n    'PASSWORDLESS_MOBILE_MESSAGE': \"Use this code to log in: %s\",\n\n    # Registers previously unseen aliases as new users.\n    'PASSWORDLESS_REGISTER_NEW_USERS': True,\n\n    # Suppresses actual SMS for testing\n    'PASSWORDLESS_TEST_SUPPRESSION': False,\n\n    # Context Processors for Email Template\n    'PASSWORDLESS_CONTEXT_PROCESSORS': [],\n\n    # The verification email subject\n    'PASSWORDLESS_EMAIL_VERIFICATION_SUBJECT': \"Your Verification Token\",\n\n    # A plaintext verification email message overridden by the html message. Takes one string.\n    'PASSWORDLESS_EMAIL_VERIFICATION_PLAINTEXT_MESSAGE': \"Enter this verification code: %s\",\n\n    # The verification email template name.\n    'PASSWORDLESS_EMAIL_VERIFICATION_TOKEN_HTML_TEMPLATE_NAME': \"passwordless_default_verification_token_email.html\",\n\n    # The message sent to mobile users logging in. Takes one string.\n    'PASSWORDLESS_MOBILE_VERIFICATION_MESSAGE': \"Enter this verification code: %s\",\n\n    # Automatically send verification email or sms when a user changes their alias.\n    'PASSWORDLESS_AUTO_SEND_VERIFICATION_TOKEN': False,\n\n    # What function is called to construct an authentication tokens when\n    # exchanging a passwordless token for a real user auth token. This function\n    # should take a user and return a tuple of two values. The first value is\n    # the token itself, the second is a boolean value representating whether\n    # the token was newly created.\n    'PASSWORDLESS_AUTH_TOKEN_CREATOR': 'drfpasswordless.utils.create_authentication_token',\n    \n    # What function is called to construct a serializer for drf tokens when\n    # exchanging a passwordless token for a real user auth token.\n    'PASSWORDLESS_AUTH_TOKEN_SERIALIZER': 'drfpasswordless.serializers.TokenResponseSerializer',\n\n    # A dictionary of demo user's primary key mapped to their static pin\n    'PASSWORDLESS_DEMO_USERS': {},\n\n    # configurable function for sending email\n    'PASSWORDLESS_EMAIL_CALLBACK': 'drfpasswordless.utils.send_email_with_callback_token',\n    \n    # configurable function for sending sms\n    'PASSWORDLESS_SMS_CALLBACK': 'drfpasswordless.utils.send_sms_with_callback_token',\n\n    # Token Generation Retry Count\n    'PASSWORDLESS_TOKEN_GENERATION_ATTEMPTS': 3\n\n\n}\n```\n\nTo Do\n----\n\n-  github.io project page\n-  Add MkDocs - http://www.mkdocs.org/\n-  Support non-US mobile numbers\n-  Custom URLs\n-  Change bad settings to 500's\n\nPull requests are encouraged!\n\nDonations \u0026 Support\n----\nIf you found drfpasswordless useful, consider giving me a follow\n[@localghost](https://www.twitter.com/aaronykng) on Twitter and\n[@hi.aaron](https://www.instagram.com/hi.aaron) on Instagram.\n\nIf you'd like to go a step further and are using drfpasswordless in your startup\nor business, consider a donation:\n\n- BTC: `3FzSFeKVABL5Adh9Egoxh77gHbtg2kcTPk`\n- ETH: `0x13412a79F06A83B107A8833dB209BECbcb700f24`\n- Square Cash: `$aaron`\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2020 Aaron Ng\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n[ci-image]: https://travis-ci.org/aaronn/django-rest-framework-passwordless.svg?branch=master\n[splash-image]: https://i.imgur.com/OdDHAIf.png\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronn%2Fdjango-rest-framework-passwordless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronn%2Fdjango-rest-framework-passwordless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronn%2Fdjango-rest-framework-passwordless/lists"}