Konsti Wohlwend
cec718f542
Identity Provider/External OAuth ( #323 )
...
Co-authored-by: moritz <moritsch@student.ethz.ch>
2024-11-30 23:27:55 -08:00
Konstantin Wohlwend
c1b8601341
Advanced team invitations
2024-11-26 17:12:57 +01:00
Konsti Wohlwend
3b18f09ec7
Log geoip information with events ( #344 )
2024-11-17 18:07:36 +01:00
Zai Shi
fd8d166e04
Query/filtering with list users endpoint ( #314 )
2024-10-30 02:16:39 +01:00
Moritz Schneider
93a1fcf7cb
Passkey support ( #321 )
...
* passkeys
* add passkey tests
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-28 16:56:46 -07:00
Zai Shi
95ab828f14
removed client id unique constraint ( #299 )
2024-10-13 22:29:34 +02:00
Zai Shi
a785d47417
Project specific JWKs ( #293 )
...
* added per project signing
* added well-known/jwks.json
* fixed bugs
* fixed bugs
* fixed tests
* fixed not found error
2024-10-07 21:27:55 +02:00
Zai Shi
28c3f57f31
New contact channels ( #287 )
...
* removed contact channels from otp
* fixed types
* fixed bugs
* fixed bug
* fixed bugs
* updated user contact channel
* updated tests
* updated tests
* added unique key to otp and password auth
* removed contact channel from user object
2024-10-01 06:22:12 +02:00
Zai Shi
06fcca6fe6
OTP ( #263 )
...
* fixed otp send email template
* added version
* added send response type
* updated email template
* added otp email
* added otp page
* fixed bugs
* fixed bugs, added back button on otp page
* otp works
* added max attempts per nonce code
* fixed error return type
* fixed tests
* fixed bugs
* updated button text
* added tests
* added totp code error handling
* removed console.log
* fixed verification code length
* fixed code length
* moved otp inside magic link sign in component
* changed version back, updated ui wording
* added old version otp email tests
* fixed tests
2024-09-24 20:02:06 +02:00
Zai Shi
3c20bf609f
remove slack oauth, allow no email in oauth
2024-09-19 16:35:17 -07:00
Manoj Kumar
c4ae4fc4ed
feat: Add twitter oauth provider ( #206 )
...
* add twitter oauth
* add slack oauth
* add emailVerified field
* twitter -> x
* fixed x user info
* add slack authed user type & fix token set
* fix endpoint
* fix slack button
* fix slack oauth
* Fix merge conflicts
* merge dev
* fix merge conflicts
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-20 01:28:58 +02:00
Zai Shi
36a4edd93a
Added client side account deletion, team ids in user delete webhooks, and updated account setting UI design ( #257 )
...
* added user delete team relation webhook
* added delete account setting
* added translations
* updated translation
* added account delete button and functions
* added center to sidebar layout
* added new section layout
* updated sections
* updated styles
* updated setting styles
* improved account settings
* fixed account delete
* added tests
* fixed tests
2024-09-18 06:27:36 +02:00
Zai Shi
f8258af7aa
Apple OAuth ( #250 )
...
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
* added apple oauth
* fixed oauth callback
* removed unused
* added apple icon
* fixed bugs
* fixed apple oauth
* added id token, apple login works
* fixed facebook
* removed no pkce for apple
* fixed mock oauth
2024-09-15 02:50:06 +02:00
Zai Shi
5977262329
Added Linkedin OAuth ( #249 )
...
Co-authored-by: Manoj Kumar <ms8460149@gmail.com>
2024-09-14 22:49:26 +02:00
Zai Shi
c8c6a3f460
added password auth unique key migration
2024-09-12 11:55:28 -07:00
Zai Shi
84e30eead0
Remove shared Facebook ( #238 )
...
* removed facebook shared
* updated test
* added migration file
* facebook enabled var
* fixed migration file
* fixed connected account migration file
2024-09-11 02:25:18 +02:00
Zai Shi
5bd08de6ed
fixed project deletion ( #236 )
2024-09-09 22:36:55 +02:00
Zai Shi
57a33b2dd6
Query optimization ( #230 )
...
* removed v1 api
* added new database schema
* fixed small problems
* fixed import errors
* fixed small problems in schema
* fixed missing metadata
* fixed totp db
* updated user
* added check auth data, updated cc primary
* added user update
* added comments
* updated project create
* fixed bugs
* updated seed script
* updated verification code handler
* updated sign in
* updated imports
* updated projects
* updated sign in route
* remove credential and magic link fields from ProjectConfig model
* fixed type bugs
* updated otp sign-in
* fixed seed script
* fixed password update
* updated credential and magic link enable
* fixed projects credential and magic link
* fixed oauth provider update
* added otp and password config update
* fixed db fkey
* fixed circular dependency
* fixed seeding
* fixed auth method fkey constraint
* password type => identifierType
* fixed seed
* fixed bugs
* fixed circular import
* deterministic auth methods order
* fixed bug
* fixed credential enabled default
* fixed bugs
* fixed credential enabled update bug
* updated tests
* fixed small bugs
* fixed connected account bugs
* updated test
* fixed password update bug
* fixed bug
* fixed tests
* fixed redirect bugs
* added migration file
* Update migration SQL
* Fix stuff
* improved get user speed
* fixed crud, improved smart-request
* improved smart request further
* improved smart request
* added prisma preview features
* fixed smart request
* fixed prisma
* added otel
* fixed bugs
* fixed small problem
* added jaeger and delay
* fixed small things
* updated parse auth structure
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-08 01:28:20 +02:00
Zai Shi
fe1fdc4c11
Connected account & auth methods DB migration ( #204 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-09-07 13:03:31 -07:00
Manoj Kumar
bba2b1884d
add bitbucket oauth ( #223 )
...
* add bitbucket oauth
* updated button style
* fixed docs
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-09-06 00:20:38 +02:00
Zai Shi
f60508031e
Added Microsoft Tenant ID in OAuth option ( #224 )
...
* added ms tenant id
* fixed types
2024-09-05 23:10:31 +02:00
Zai Shi
b1a59de1ea
Last active ( #215 )
...
* added last active at
* fixed team member users
* updated tests
2024-09-01 02:28:43 +02:00
Manoj Kumar
165fe4bbc2
Add Gitlab OAuth as standard provider ( #201 )
...
* add gitlab oauth
* updated docs format
* updated error message
* Code formatting
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-24 22:36:52 +02:00
Zai Shi
7b5d0ed793
Team metadata & client read only metadata ( #196 )
...
* added team metadata
* added client readonly metadata
* updated tests
* added team client meta data tests
* added user metadata tests
* added client read only metadata to stack-app
* added client read only metadata
2024-08-20 20:39:13 +02:00
Nuno Morais
d6756f6fa2
Implement Discord oauth provider ( #187 )
...
* Implement Discord oauth provider
* Add Discord OAuth setup guide and callback URL to the docs
* removed changes in dashboard, only add discord as standard provider
* fixed small problems
* fixed types
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-17 20:54:42 +02:00
Konstantin Wohlwend
64ac7091a3
Add invalid project ID to seed script
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
2024-08-12 17:09:13 -07:00
Jasveer Singh
ed44d7588b
feat:Add delete project functionality in Project,Project-settings Issue Is:-No option to delete a project #111 ( #127 )
...
Runs E2E API Tests / build (20.x) (push) Waiting to run
Runs E2E API Tests / build (22.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
Lint & build / lint_and_build (22.x) (push) Waiting to run
TOC Generator / TOC Generator (push) Waiting to run
* Add delete project functionality in Project,Project-settings
* removed changes to the old dashboard
* added onDelete and backend endpoints
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-12 03:46:25 +02:00
Zai Shi
e5965cf977
Team frontend components ( #178 )
...
* Team invitation (#171 )
* team invitation wip
* implemented handler
* team invitation callback wip
* added team invitation frontend
* fixed listCurrentUserTeamPermissions
* added team invitation email template
* fixed bugs
* fixed verification code handler
* added more checks to team invitation verification
* fixed team invitation page
* restructured verification code handler
* fixed frontend
* fixed team invitation tests
* added more team invitation test
* fixed bug
* added migration file
* removed unused code
* Allow Next.js version `latest` in package.json
* Fix typo
* Update error message
* Remove unnecessary console.warn
* Updated "edit this page" button
* Hide unsupported properties from docs
* OAuth token tests
* Fix typo
* added create user button
* added create user button (#173 )
* added basic team settings
* Create SECURITY.md
* added editable text
* added more team settings
* Export button in tables
* Export all pages of tables
* Update security policy
* Fix docs typo
* More docs typos
* Improved user creation handlers
* added list users on client
* updated team-settings
* hide team setting component for now
* Fix: Improve error handling for Server API (#170 )
* Added entity checks to provide better errors in API for 'server' access type
* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'
* added different error types for user team permission
---------
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
* added ensureClientUserAuthenticated
* improved error handling
* removed unused imports
* fixed bug
* added member list
* Sign up restriction button on dashboard
Fix #66 , #74
* moved data table to stack-ui
* added remove user modal
* fixed chokidar
* updated ui
* fixed merge
* fixed merge
* fixed merge
* updated settings component
* improved mobile styles
* added user invitation ui
* added team creation page
* added team creation to team component
* added setting icon to team switcher
* added settings sections
* added client_team_creation_enabled
* added frontend team creation enabled checks
* updated demo page
* added member profile update
* fixed profile editing
* added leave team button
* added create/delete team redirect
* fixed column header, updated team setting
* fixed account setting padding
* updated tests
---------
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Fahad Khan <62707456+kfahad5607@users.noreply.github.com>
Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
2024-08-12 02:11:42 +02:00
Konstantin Wohlwend
1b550e7e48
TOTP 2FA endpoints
2024-08-10 09:45:48 -07:00
Konstantin Wohlwend
c64fbf4fcd
Sign up restriction button on dashboard
...
Fix #66 , #74
2024-08-10 09:45:48 -07:00
Zai Shi
4bbead0ef9
Team invitation ( #171 )
...
* team invitation wip
* implemented handler
* team invitation callback wip
* added team invitation frontend
* fixed listCurrentUserTeamPermissions
* added team invitation email template
* fixed bugs
* fixed verification code handler
* added more checks to team invitation verification
* fixed team invitation page
* restructured verification code handler
* fixed frontend
* fixed team invitation tests
* added more team invitation test
* fixed bug
* added migration file
* removed unused code
2024-08-10 09:45:47 -07:00
Konsti Wohlwend
dfb51b8346
Auth methods and connected accounts ( #164 )
2024-08-04 11:39:26 -07:00
Zai Shi
7574a2eb1b
fixed password reset ( #162 )
2024-08-02 04:00:24 +02:00
Zai Shi
cfe5e011af
added migration file
Runs E2E API Tests / build (20.x) (push) Waiting to run
Lint & build / lint_and_build (18.x) (push) Waiting to run
Lint & build / lint_and_build (20.x) (push) Waiting to run
2024-07-30 10:55:32 -07:00
Zai Shi
5ec3727d62
added oauth token table ( #160 )
2024-07-30 19:49:36 +02:00
Zai Shi
6df4187595
added spotify back to shared provider
2024-07-27 13:35:24 -07:00
Zai Shi
3bfff5215f
Facebook business config id ( #155 )
...
* Support moduleResolution: "node"
* Remove deprecated TeamSwitcher, use SelectedTeamSwitcher instead
* Rename CredentialSignInForm -> CredentialSignIn in code
* Improve KnownError messages
* Fix connected accounts (#148 )
* fixed endpoint
* fixed account linking
* fixed get access token
* fixed import bug
* Client team API (#149 )
* added transactions
* added client team update and delete
* added client side remove member
* allow user remove them selves from team
* fixed bug, fixed tests
* added client update test, fixed bugs
* added tests for team delete
* added more tests, fixed bugs
* fixed server example docs
* fixed broken doc link
* Impersonation
* do not create endpoint automatically
* removed unused property
* Team user profile API (#150 )
* added team member endpoints
* fixed circular dependency bug, added team member profiles tests
* added more tests
* added migration file
* Improved error messages
* Redirect user to correct page after sign-in (#151 )
* Metadata fields should be set to null when left empty (#145 )
* fixed send verification email
* added comments in prisma file
* improved types (#152 )
* added better messages for domains
* Added sentry headers to the allow list
* Optional shared keys (#153 )
* removed standard providers and shared providers
* added more types
* updated all providers imports
* fixed circular dependency
* updated dashboard for different shared keys
* fixed old dashboard
* added migration file
* added better oauth error message
* added facebookConfigId
* fixed types
* fixed for facebook config to be string bu
---------
Co-authored-by: Stan Wohlwend <n2d4xc@gmail.com>
2024-07-27 01:34:50 +02:00
Zai Shi
650a47c72f
added shared spotify
2024-07-26 16:07:00 -07:00
Zai Shi
8d65f9b47b
Optional shared keys ( #153 )
...
* removed standard providers and shared providers
* added more types
* updated all providers imports
* fixed circular dependency
* updated dashboard for different shared keys
* fixed old dashboard
* added migration file
2024-07-26 16:07:00 -07:00
Zai Shi
2e6a794e33
added comments in prisma file
2024-07-26 16:06:59 -07:00
Zai Shi
15b96049ae
Team user profile API ( #150 )
...
* added team member endpoints
* fixed circular dependency bug, added team member profiles tests
* added more tests
* added migration file
2024-07-26 16:06:59 -07:00
Konsti Wohlwend
7cca092c82
Events ( #142 )
2024-07-21 18:31:42 -07:00
Stan Wohlwend
b0d6286e50
Fix migration for dev instance
2024-07-14 10:27:02 -07:00
Konsti Wohlwend
b0f233a44c
More backend endpoint implementations ( #126 )
...
Co-authored-by: Zai Shi <fomalhautb@users.noreply.github.com>
2024-07-13 22:04:53 -07:00
Zai Shi
06c71d1b9e
added team profile image url ( #130 )
...
* added team profile image url
* added migration file
* fixed eslint
* added next image to demo
* fixed build error
2024-07-07 06:58:29 +02:00
Konsti Wohlwend
53450206f5
Create users & auth endpoints in backend ( #85 )
2024-07-01 22:42:08 -07:00
Stan Wohlwend
ab348af895
Prefix all environment variables with STACK_
2024-07-01 17:30:35 -07:00
Zai Shi
cfbffacf49
Fixed selected team DB type ( #121 )
...
* fixed selected team type
* fixed type
2024-07-01 18:29:42 +02:00
Zai Shi
ac93553e5c
fixed user ondelete ( #117 )
2024-07-01 04:15:10 +02:00
Zai Shi
8819bfbb4d
Fix the bug that team cannot be delete when selected ( #95 )
...
* fixed selected team
* fixed update bug
* added selected teem back for zero down time migration
* fixed bug
* updated dashboard prisma
* fixed update bug
2024-06-25 11:11:56 +02:00