authorizer/server
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 feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
cli fix: slice envs 2022-05-31 08:14:03 +05:30
constants feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
cookie add comments 2023-07-23 13:02:14 +08:00
crypto feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
db feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
email fix: upgrade packages 2023-10-14 18:06:29 +05:30
env feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
graph feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
handlers fix apple login nil pointer exception 2023-11-09 13:45:29 +05:30
logs fix(server): global logging 2022-11-17 10:35:38 +05:30
memorystore feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
middlewares fix: access_token renew + web_message redirect 2022-11-29 05:27:29 +05:30
oauth allow common tenant for microsoft 2023-08-03 14:43:27 +05:30
parsers fix: remove extra slash from host 2022-11-24 12:58:04 +05:30
refs fix: refs 2022-07-15 22:11:08 +05:30
resolvers feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
routes fix: rename revoke refresh token handler for better reading 2022-07-11 11:10:30 +05:30
smsproviders Update resend otp 2023-07-23 10:03:37 +05:30
test feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
token fix: use session / access_token for profile related queries or mutation 2023-10-13 08:11:55 +05:30
types fix: slice envs 2022-05-31 08:14:03 +05:30
utils feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
validators fix webhook for deactiavtion 2023-10-11 00:20:15 +05:30
go.mod feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
go.sum feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
gqlgen.yml chore: update gqlgen to 0.17.20 2022-09-30 15:37:59 +05:30
main.go feat: add totp login API (#416) 2023-11-16 18:30:54 +05:30
tools.go chore: update gqlgen to 0.17.20 2022-09-30 15:37:59 +05:30