guoguangwu
c6f19a82a4
chore: remove refs to deprecated io/ioutil
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-05-18 15:02:45 +08:00
lemonScaletech
5cb94a7820
fix:
...
* added logic if role is deleted then also be deleted from user side if role is assigned to that user.
* default role should be subset of roles
2023-12-07 19:33:59 +05:30
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
Eng Zer Jun
f3b672a4cf
refactor(server/utils): remove redundant nil check
...
From the Go specification:
"3. If the map is nil, the number of iterations is 0." [1]
Therefore, an additional nil check for before the loop is unnecessary.
[1]: https://go.dev/ref/spec#For_range
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-09 12:57:20 +08:00
Lakhan Samani
c2defdbaac
fix: refs for cassandra db
2023-08-01 16:09:17 +05:30
Lakhan Samani
15a4be5431
fix: refs for db provider and few utils
2023-07-31 16:42:11 +05:30
Lakhan Samani
55fc4b2608
Update resend otp
2023-07-23 10:03:37 +05:30
Lakhan Samani
f831379d27
revert change for forgot password
2023-05-12 16:39:02 +05:30
Lakhan Samani
a50f6becbd
[server]fix: error redirection for email verification
2023-05-02 18:39:10 +05:30
Lakhan Samani
16136931a9
fix: add event description to webhook res
2023-03-29 07:31:07 +05:30
Lakhan Samani
c908ac94da
fix: continue in case of error for register events
2023-03-29 07:29:44 +05:30
Lakhan Samani
e822b6f31a
fix: queries for webhooks + improve tests
2023-03-29 07:06:33 +05:30
Lakhan Samani
a38e9d4e6c
fix: rename title -> event_description
2023-03-26 07:48:06 +05:30
Lakhan Samani
deaf1e2ff7
fix: allow multiple hooks for same event
2023-03-26 07:20:45 +05:30
Lakhan Samani
49556b1709
fix: openid flow
2022-11-12 23:54:37 +05:30
Lakhan Samani
287b952dad
fix: forgot password redirect from app
2022-10-24 11:37:42 +05:30
Lakhan Samani
e690066652
fix(server):give higher preference to redirect_uri
...
While using forgot_password redirect URI was ignored if not present
Resolves #275
2022-10-24 11:15:36 +05:30
szczepad
f73d1fc588
feat: Adds login via twitter
2022-08-22 09:25:10 +02:00
Lakhan Samani
81fce1a471
feat: send email based on template
2022-08-09 01:43:37 +05:30
Lakhan Samani
a890013317
Update generate_otp.go
2022-08-02 18:26:05 +05:30
Lakhan Samani
587828b59b
feat: add helper for updating all users
2022-08-02 14:12:36 +05:30
Lakhan Samani
d89be44fe5
feat: add sending otp
2022-07-29 19:49:50 +05:30
anik-ghosh-au7
ef22318d5c
feat: add generate_otp util
2022-07-24 10:40:37 +05:30
Lakhan Samani
847c364ad1
fix: refs
2022-07-15 22:11:08 +05:30
Lakhan Samani
018a13ab3c
feat: add tests for webhook resolvers
2022-07-11 19:40:54 +05:30
Lakhan Samani
bbb064b939
feat: add register event
2022-07-11 10:42:42 +05:30
Lakhan Samani
e91a819067
feat: implement resolvers
2022-07-10 21:49:33 +05:30
Lakhan Samani
eeff88c853
fix: env saving
2022-05-31 13:11:54 +05:30
Lakhan Samani
7e3bd6a721
fix: import cycle issues
2022-05-30 11:54:16 +05:30
Lakhan Samani
268b22ffb2
fix: memory store upgrade in resolvers
2022-05-30 09:19:55 +05:30
Lakhan Samani
43359f1dba
fix: update store method till handlers
2022-05-29 17:22:46 +05:30
Lakhan Samani
1941cf4299
fix: move sessionstore -> memstore
2022-05-27 23:20:38 +05:30
Vicg853
9edc8d0fb5
Inverted userRoles by role fix. Roles can now be updated
2022-05-12 16:40:19 -03:00
Lakhan Samani
075c287f34
feat: add support for database cert, key, ca-cert
2022-04-23 17:52:02 +05:30
Lakhan Samani
4fa9f79c3f
fix: setting the cookie for proxy setup
2022-03-30 11:50:22 +05:30
egor.medvedev
819dd57377
Merge branch 'authorizerdev/authorizer:main' into main
2022-03-25 16:13:46 +03:00
egor.medvedev
044b025ba2
enhancement: add access_token_expiry_time env variable
2022-03-25 15:21:20 +03:00
Lakhan Samani
1f3dec6ea6
feat: add validate_jwt_token query
...
Resolves #149
2022-03-24 13:32:30 +05:30
Lakhan Samani
ec4ef97766
feat: add validation for strong password
2022-03-17 15:35:07 +05:30
Anik Ghosh
96edb43b67
feat: disable user signup
2022-03-16 22:49:18 +05:30
Lakhan Samani
5e6ee8d9b0
fix: setup-password flow
2022-03-15 09:57:09 +05:30
Lakhan Samani
9a19552f72
feat: add resolver for inviting members
2022-03-15 08:53:48 +05:30
Lakhan Samani
1b387f7564
fix: getting version in meta api
2022-03-09 18:55:18 +05:30
Lakhan Samani
f0f2e0b6c8
fix: auth flow
2022-03-02 17:42:31 +05:30
Lakhan Samani
5399ea8f32
feat: add session token
2022-02-28 21:26:49 +05:30
Lakhan Samani
df1c56bb1c
fix: tests
2022-02-28 07:55:01 +05:30
Lakhan Samani
b68d9ce661
fix: update_env resolver
2022-02-26 20:36:22 +05:30
Lakhan Samani
36d9861517
Fix getting host
2022-01-31 14:30:13 +05:30
Lakhan Samani
4e48320cf1
fix: bug with authorizer url
2022-01-31 11:35:24 +05:30
Lakhan Samani
6331ec7b7a
Resolves #110
2022-01-29 17:03:21 +05:30