authorizer/server/db/models
Lakhan Samani fe4c693324
feat: add totp login API (#416)
* fix:
* removed hasReversedValue in playground

* feat:
* added totp methods in db's providers
* adding totp in login method

* feat:
* added toggle in dashboard
* fixing issue with env set

* feat:
* integrated totp

* feat:
* encrypted userid
* added totp_verified column in user table
* started test for totp

* feat:
* test cases totp

* test-cases:
* completed test cases
* tested for all dbs

* fixes:
* return variable to snake case
* import refactoring

* feat:
* created seperate folder for authenticator with totp subfolder
* refactored code
* created new table for authenticators
* added recovery code for totp

* feat:
* adding functions to different db providers

* feat:
* added authenticators method for all db

* feat:
* added logic for updating mfa in user_profile update

* fix:
* merge conflict

* fix:
* resolved mongodb, dynamodb and arangodb test case bug
* added new condition for checking first time totp user or not

* feat:
* changes in all respective db with authenticator

* fix:
* PR suggested changes

* fix(cassandra): list users

* Update verify otp

* fix totp login api

---------

Co-authored-by: lemonScaletech <anand.panigrahi@scaletech.xyz>
2023-11-16 18:30:54 +05:30
..
authenticators.go feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
email_templates.go resolve conflict over the db models 2022-10-08 16:07:07 +05:30
env.go [server] use encryption_key for couchbase env as hash is reserved keyword 2023-01-31 11:18:20 +05:30
model.go feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
otp.go fix: tests for otp refactor 2023-07-23 07:29:29 +05:30
session.go dynamod db index changes added to the schema 2022-10-05 15:32:32 +05:30
user.go Allow empty email 2023-10-26 00:55:10 +05:30
verification_requests.go resolve conflict over the db models 2022-10-08 16:07:07 +05:30
webhook_log.go resolve conflict over the db models 2022-10-08 16:07:07 +05:30
webhook.go fix: update dashboard ui for webhooks 2023-03-29 07:27:56 +05:30