Lakhan Samani
ade676f92c
fix: remove access_token & id_token from query string
2023-12-30 21:19:44 +05:30
Lakhan Samani
ca71aba96d
Merge pull request #440 from foestauf/feat/discord-provider
...
feat: Add Discord as Identity Provider
2023-12-30 11:16:14 +05:30
Lakhan Samani
ef2a590608
Merge branch 'main' of https://github.com/authorizerdev/authorizer
2023-12-26 21:10:58 +05:30
Lakhan Samani
59ed4e273f
Update react app
2023-12-26 21:10:10 +05:30
Robert McKee
751933d40e
feat: Add Discord as Identity Provider
2023-12-23 17:05:02 -05:00
Lakhan Samani
5ba30ccd12
remove todo
2023-12-22 01:32:12 +05:30
Lakhan Samani
02f7a62918
feat: add testing & ui for forgot password with mobile
2023-12-22 01:26:14 +05:30
Lakhan Samani
c9c2789097
Merge branch 'main' of https://github.com/authorizerdev/authorizer into fix/forgot-password
2023-12-14 22:45:36 +05:30
Lakhan Samani
ed3100c179
fix: allow logout using access token
2023-12-14 22:12:03 +05:30
lemonScaletech
d8b9ffe9ce
Merge remote-tracking branch 'origin/fix/role-deletion' into fix/role-deletion
2023-12-08 18:22:57 +05:30
lemonScaletech
47f26103b0
test:
...
* added integration test for role deletion functionality
2023-12-08 18:22:24 +05:30
Anand Kumar Panigrahi
48ada9ab26
Merge branch 'authorizerdev:main' into fix/role-deletion
2023-12-08 17:31:01 +05:30
lemonScaletech
b8c2ab4cf8
refactoring:
...
* removed extra for loop
* commenting on functions
2023-12-08 10:38:09 +05:30
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
scaletech-milan
7e9fac335b
Feat:
...
- Add TOTP MFA for signup
- Test cases for totp signup and verify_email
2023-12-06 15:53:01 +05:30
Siim Sams
df5978fb5a
fix unable to update app_data for user
2023-12-05 20:41:39 +02:00
Lakhan Samani
2a0e0da436
Merge branch 'main' of https://github.com/authorizerdev/authorizer into fix/forgot-password
2023-12-04 23:35:13 +05:30
Lakhan Samani
e8b99f73c3
fix: phone number verification
2023-12-04 11:28:27 +05:30
Lakhan Samani
3fa892431e
fix: phone_number_verified_at set during signup
2023-12-04 09:26:59 +05:30
Lakhan Samani
c95db8b07b
feat: add forgot password for mobile login
2023-12-03 22:49:40 +05:30
Lakhan Samani
32fcba0f8d
Fix/forgot password ( #430 )
...
* fix: forgot password shown with magic link login
* fix: forgot password shown with magic link login
* fix is basic auth enabled
2023-12-03 22:27:56 +05:30
Lakhan Samani
f70310f04f
fix: forgot password shown with magic link login
2023-12-03 11:27:39 +05:30
Lakhan Samani
cac67b7915
feat: add totp UI & recovery code ( #429 )
2023-12-03 09:03:22 +05:30
Lakhan Samani
d7da81d308
fix comment for twitch login
2023-12-02 12:22:27 +05:30
scaletech-milan
e49e315967
Feat: Add oauth2 for twitch ( #426 )
...
* fix:
* removed fmt.Println
* Feat:
- Add OAuth for twitch
---------
Co-authored-by: lemonScaletech <anand.panigrahi@scaletech.xyz>
Co-authored-by: Anand Kumar Panigrahi <70533637+lemonScaletech@users.noreply.github.com>
2023-12-02 12:21:53 +05:30
Lakhan Samani
7f6ddca3fc
fix: totp login
2023-12-01 14:00:01 +05:30
Lakhan Samani
46d6f86ab0
Remove logs
2023-11-25 11:44:52 +05:30
Lakhan Samani
1890db8f03
Merge branch 'main' of https://github.com/authorizerdev/authorizer
2023-11-25 11:34:15 +05:30
Lakhan Samani
0e96e0b6f0
fix: nil check
2023-11-25 11:34:01 +05:30
Aris Ripandi
bbddf484ed
feat: add support for libsql / Turso database ( #421 )
2023-11-25 09:35:39 +05:30
Lakhan Samani
bd343f0b27
fix: disable totp by default
2023-11-23 20:54:03 +05:30
scaletech-milan
de5c18b60f
Feat: add screen_hint param in /authorize api for explicit signup redirection ( #420 )
...
* Feat:
- Introduce screen_hint param in /authorize for explicit signup redirection
* Feat:
- Declare variable for base path and signup path
- Add social login on signup page
* Refactor:
- Update variable name for screen hint param
2023-11-21 13:08:32 +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
guangwu
fdd41721a8
fix: typo
2023-11-16 11:25:57 +08:00
Lakhan Samani
a05f5ce063
fix apple login nil pointer exception
2023-11-09 13:45:29 +05:30
Lakhan Samani
b7627a36a6
Add debug point
2023-11-09 10:49:17 +05:30
Lakhan Samani
85bbd1223e
Fix validating session
2023-11-01 18:12:56 +05:30
Lakhan Samani
885a147463
Merge pull request #409 from authorizerdev/fix/use-login-signup-for-mobile
...
feat: unify email & mobile singup + login
2023-10-26 10:08:30 +05:30
Lakhan Samani
9a6f1a659a
Allow empty email
2023-10-26 00:55:10 +05:30
Lakhan Samani
4bddbde280
Update comments
2023-10-22 02:36:10 +05:30
Lakhan Samani
3ed31b0557
feat: unify email & mobile singup + login
2023-10-22 02:33:36 +05:30
Olatunji Longe
be3d8cf69b
changed subject_types_supported to array of strings according to OIDC specs
2023-10-20 20:10:10 -04:00
Lakhan Samani
a3bda429d0
fix: upgrade packages
...
- fix app_data for cassandra & scylladb
2023-10-14 18:06:29 +05:30
Lakhan Samani
2a759de311
fix: upgrade packages
2023-10-13 10:48:51 +05:30
Lakhan Samani
6a4568dcf3
fix: use session / access_token for profile related queries or mutation
2023-10-13 08:11:55 +05:30
Lakhan Samani
f906fb74af
Fix calling deactivate acc
2023-10-12 11:48:37 +05:30
Lakhan Samani
60de61a74e
fix webhook for deactiavtion
2023-10-11 00:20:15 +05:30
Lakhan Samani
843bc022fe
Add api to deactivate user account
2023-10-11 00:16:53 +05:30
lemonScaletech
9519b53d4e
Merge branch 'main' into fix/webhook_bug_389
2023-09-11 11:57:19 +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
1d6f569f92
fix: default value for disable playground
2023-09-09 07:11:13 +05:30
lemonScaletech
77e219d990
fix:
...
* #389 resolved
* typo fixed
2023-08-29 18:14:48 +05:30
lemonScaletech
3ac6875f87
feat:
...
* resolved conflicts
2023-08-29 11:55:27 +05:30
lemonScaletech
937506ff64
Merge branch 'main' into feat/disable_playground
...
# Conflicts:
# app/yarn.lock
# dashboard/yarn.lock
# server/constants/env.go
# server/env/env.go
# server/env/persist_env.go
# server/graph/model/models_gen.go
# server/memorystore/providers/redis/store.go
2023-08-29 11:44:07 +05:30
lemonScaletech
9795ba9097
feat:
...
* added disable playground functionality
* added toggle button for playground in dashboard
2023-08-29 11:36:18 +05:30
Lakhan Samani
a124edfaee
Add user to validate_session
...
Resolves #379
2023-08-19 20:45:20 +05:30
Lakhan Samani
5e6b033024
fix microsoft active directory config
2023-08-17 14:20:31 +05:30
Lakhan Samani
171d4e3fff
remove unused code
2023-08-14 14:16:54 +05:30
Lakhan Samani
cf96a0087f
Fix tests for verifying otp using mfa session
2023-08-14 14:15:52 +05:30
Lakhan Samani
35e563ab3b
Add app_data
2023-08-14 12:01:37 +05:30
Lakhan Samani
e625ed9633
allow common tenant for microsoft
2023-08-03 14:43:27 +05:30
Lakhan Samani
a042c202a0
fix microsoft active directory config
2023-08-03 13:29:07 +05:30
Lakhan Samani
7a76b783b1
Merge pull request #372 from catusax/main
...
feat: add mfa session to secure otp login
2023-08-03 12:34:39 +05:30
Lakhan Samani
e5400bc7bd
fix microsoft active directory config
2023-08-03 12:33:20 +05:30
Lakhan Samani
a8503666e3
fix: add events for signup
2023-08-02 10:02:41 +05:30
Lakhan Samani
9a8d20b698
fix: test webhook endpoint mutation
...
Resolves #376
2023-08-02 00:04:07 +05:30
Lakhan Samani
3fefcfcd9a
fix: refs for dynamo db
2023-08-01 17:37:34 +05:30
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
146561bacb
fix: allow multi tenant for microsooft
2023-07-25 11:45:08 +05:30
catusax
ba0cf189de
userid ass mfa session key
2023-07-24 12:00:30 +08:00
Lakhan Samani
2a2b7abc08
Add optional show_mobile_otp_screen
2023-07-24 11:56:56 +08:00
Lakhan Samani
27e3ed82e4
Update resend otp
2023-07-24 11:56:55 +08:00
Lakhan Samani
6077702626
fix: tests for otp refactor
2023-07-24 11:56:55 +08:00
Lakhan Samani
cf54fcef03
Fix tests
2023-07-24 11:56:55 +08:00
Lakhan Samani
2f849b8f0c
Refactor code for otp
2023-07-24 11:56:55 +08:00
Lakhan Samani
85ca0f09bf
[draft] Move sms verificaiton to otp models
2023-07-24 11:55:26 +08:00
Lakhan Samani
43fdc826c4
Add optional show_mobile_otp_screen
2023-07-23 11:23:24 +05:30
catusax
e7652db89c
add comments
2023-07-23 13:02:14 +08:00
Lakhan Samani
c80b0d7028
Merge pull request #368 from authorizerdev/fix-sms-verification-for-alldb
...
Move sms verificaiton to otp models
2023-07-23 10:04:18 +05:30
Lakhan Samani
55fc4b2608
Update resend otp
2023-07-23 10:03:37 +05:30
Lakhan Samani
fac333e195
fix: tests for otp refactor
2023-07-23 07:29:29 +05:30
catusax
5018462559
feat: add mfa session to secure otp login
2023-07-20 15:11:39 +08:00
Lakhan Samani
edb5412c17
Fix tests
2023-07-18 22:50:23 +05:30
Lakhan Samani
87a962504f
Increase timeout for redis
2023-07-16 22:57:56 +05:30
Lakhan Samani
d04f79557a
Refactor code for otp
2023-07-13 11:39:22 +05:30
Lakhan Samani
c20e9b810a
Merge branch 'main' of https://github.com/authorizerdev/authorizer into fix-sms-verification-for-alldb
2023-07-12 22:16:07 +05:30
Lakhan Samani
6fa0ad1809
feat: add resolver to validate browser session
2023-07-12 22:12:17 +05:30
Lakhan Samani
abe809ca68
[draft] Move sms verificaiton to otp models
2023-07-12 11:24:13 +05:30
Lakhan Samani
07f71e883b
Add comments for twillio
2023-07-11 14:49:16 +05:30
Lakhan Samani
6cef9064c3
Update provider template for sms verification
2023-07-11 14:48:37 +05:30
Joker_
356428ea02
Fix wrong response_type parsed when missing response_mode
2023-06-29 23:10:44 +08:00
Mussie Teshome
9fb00544cd
removed unwanted comment
2023-06-11 20:44:09 +03:00
Mussie Teshome
2b022d1058
Fix typo
2023-06-11 16:23:31 +03:00
Mussie Teshome
1c84d9f4a8
Merge branch 'authorizerdev:main' into feat/sms_confirmation
2023-06-11 16:05:29 +03:00
Mussie Teshome
0838b60fae
Added VerifyMobileTest to the resolver
2023-06-11 16:03:16 +03:00
Mussie Teshome
325134466d
Testing verify_mobile resolver
2023-06-11 16:02:46 +03:00
Mussie Teshome
58d9978dd5
Updated to test verification
2023-06-11 16:01:49 +03:00
Mussie Teshome
801d64e2f5
Twilio configuration
2023-06-11 16:00:30 +03:00
Mussie Teshome
dd3cc9de3a
Verify mobile resolver
2023-06-11 16:00:07 +03:00
Mussie Teshome
8dc7366182
Updated mobile signup to send sms when service enabled
2023-06-11 15:59:53 +03:00
Mussie Teshome
7749534087
generated
2023-06-11 15:59:18 +03:00
Mussie Teshome
510f16e7b0
New resolver - Verify Moblie
2023-06-11 15:59:03 +03:00
Mussie Teshome
d5e83ea14f
Schema update for SMSVerificationRequest
2023-06-11 15:58:50 +03:00
Mussie Teshome
b4a90de1d4
Updated to support disable sms verification request
2023-06-11 15:58:04 +03:00
Mussie Teshome
c525ad92f2
SQL Related dbs CRUD implementation for SMS
2023-06-11 15:57:14 +03:00
Mussie Teshome
9028682e93
Added SMSVerificationRequests model to automigrate
2023-06-11 15:56:40 +03:00
Mussie Teshome
3d6bfe4480
mongo implementation for the sms crud
2023-06-11 15:56:02 +03:00
Mussie Teshome
043af08bf0
Mongo collection for SMSVerificationRequest model
2023-06-11 15:55:11 +03:00
Mussie Teshome
0af78479fc
Different dbs fn skeleton which fn yet not written
2023-06-11 15:54:23 +03:00
Mussie Teshome
096f686495
Added delete sms request to the interface
2023-06-11 15:52:33 +03:00
Mussie Teshome
c574c6a679
configure twilio via environment variables
2023-06-11 15:52:07 +03:00
Mussie Teshome
6428b74e64
twilio - new package
2023-06-11 15:50:09 +03:00
Mussie Teshome
aa3892025d
New resolvers for sms requests
2023-06-11 15:49:25 +03:00
Mussie Teshome
b2f3d6eb80
sms verification requests model
2023-06-08 11:53:06 +03:00
Mussie Teshome
348cbf8c38
Add sms verification to collection
2023-06-08 11:52:39 +03:00
Mussie Teshome
8ac33a085c
commented out sms twilio sender
2023-06-01 15:29:22 +03:00
Lakhan Samani
6c9b359081
Merge pull request #355 from minilikmila/fix/facebook-login
...
Modify the Facebook login authentication callback to enable user email access through the response body.
2023-05-29 10:32:27 +05:30
Mila Shumete
0fde46d274
setting on facebook user email method --- change the parameter(key) passed to get the email from map
2023-05-28 17:10:29 +03:00
Lakhan Samani
930c934fdb
[server] add ability to get user by email
2023-05-20 09:49:18 +05:30
Michael Sahlu
1111729ad4
add sender name / from name
2023-05-16 00:51:28 +03:00
Michael Sahlu
e56c2f58e5
add sender name on schema and resolver
2023-05-16 00:46:22 +03:00
Michael Sahlu
8dbd2556eb
retrive sender name from env
2023-05-16 00:40:14 +03:00
Michael Sahlu
17bb077f3e
add EnvKeySenderName for SENDER_NAME env variable
2023-05-16 00:39:25 +03:00
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
Mussie Teshome
b86487fda4
assert message and response is not null
2023-04-20 10:43:06 +03:00
Mussie Teshome
28d4ddeb50
Return the new emails only
2023-04-19 15:38:30 +03:00
Mussie Teshome
b9ab1d3761
return err on err
2023-04-19 15:31:57 +03:00
Mussie Teshome
a5b643e127
removed unnecessary comment
2023-04-19 15:19:17 +03:00
Mussie Teshome
691664e629
Invite members resolver updated to return user info
2023-04-19 14:46:27 +03:00
Mussie Teshome
efb67a9538
New response type for invite members
2023-04-19 14:45:22 +03:00
Mussie Teshome
a0f2eeba3e
golang package updates
2023-04-19 14:44:50 +03:00
Lakhan Samani
6d541cbfb9
fix: use normal mutex for cache
2023-04-10 15:33:59 +05:30
Lakhan Samani
428a0be3db
feat: add cache clear
2023-04-08 18:02:53 +05:30
Lakhan Samani
02c0ebb9c4
fix: session storage
2023-04-08 13:06:15 +05:30
Lakhan Samani
9a284c03ca
fix: redis session
2023-04-03 10:26:27 +05:30
Lakhan Samani
48344ffd4c
feat: add support for default response mode & type env
...
Resolves #341
2023-04-01 17:36:07 +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
6604b6bbdd
fix: update dashboard ui for webhooks
2023-03-29 07:27:56 +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
149d0cac7a
fix: add missing info for openid config
...
Resolves #304
2023-03-04 16:11:37 +05:30
Lakhan Samani
19f5ff61c0
[server][fix]: add sub to userinfo
...
Resolves : #327
2023-02-28 12:51:11 +05:30
Lakhan Samani
3603af9f84
feat: add microsoft login
2023-02-26 05:23:02 +05:30
Lakhan Samani
cdcdc444b2
[server]: fix support for neondb
...
Update gorm/postgres driver version 1.4.7
2023-02-10 10:39:53 +05:30
Lakhan Samani
70242debe1
[server] fix scope response type + add extra claims to access token
2023-02-08 09:39:08 +05:30
Lakhan Samani
4018da6697
[server] use scope string instead of string array in tokens
2023-02-07 01:13:03 +05:30