mayank-budhiraja / strapi-with-otp-integration

Using the core strapi modules to show how only the OTP can be used to authenticate users for strapi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strapi with OTP Integration

I haven't forked this project, this is just for the demo on how the OTP can be integrated to the strapi. Also we are using only OTP integration in this project. I have created a sample project "Staax-backend" to help in understanding for the developers.

Setup

- Add the user-schema to extension folder

- In settings, allow access to verifyOTP api

- Optional, For a new project
    yarn create strapi-app my-project --quickstart

- Authenticated calls through JWT Token

- yarn setup && cd ./main/staax-backend && yarn develop

Extend your Strapi

- Main changes for OTP integration lies under this file
    - packages/plugins/users-permissions/server/controllers/auth.js

About

Using the core strapi modules to show how only the OTP can be used to authenticate users for strapi.

License:Other


Languages

Language:JavaScript 99.7%Language:Handlebars 0.1%Language:HTML 0.1%Language:Shell 0.0%