Commit Graph

327 Commits

Author SHA1 Message Date
Konstantin Wohlwend
e67d80c5ca chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-11-11 16:20:25 +01:00
Zai Shi
10b774c788 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-11-08 20:42:10 +01:00
Zai Shi
7d4d2c18b6 fixed server side team invitation 2024-11-08 19:47:32 +01:00
Konstantin Wohlwend
fcda139dd1 chore: update package versions 2024-11-08 16:27:07 +01:00
Konsti Wohlwend
057dac1a66
Next.js 15 support (#315)
Some checks failed
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
Updates `examples/demo` to Next.js 15 and adds Next.js 15 support to `packages/stack`.

The other packages and apps are still running on Next.js 14 to ensure compatibility.
2024-11-08 03:12:31 +01:00
Zai Shi
92c7faa55f fixed user table update 2024-11-07 17:07:58 +01:00
Konstantin Wohlwend
de7ac12dd5 DependenciesMap iterator 2024-11-07 16:55:35 +01:00
Konstantin Wohlwend
b6ecc26b6d Improve MaybeWeakMap docs 2024-11-07 16:11:57 +01:00
Konstantin Wohlwend
1163aa5c0a IterableWeakMap 2024-11-07 16:11:16 +01:00
Konstantin Wohlwend
b3d517d874 chore: update package versions 2024-11-06 16:30:06 +01:00
Zai Shi
b2d5afc96d chore: update package versions 2024-11-05 22:38:24 +01:00
Konstantin Wohlwend
8114f47779 chore: update package versions 2024-11-05 10:16:40 +01:00
Zai Shi
c6a917f0ac chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-31 18:36:57 -07:00
Zai Shi
35afb5785c
Contact channel docs (#327)
* added docs

* added contact channel sdk docs
2024-11-01 01:32:20 +01:00
Zai Shi
fd8d166e04
Query/filtering with list users endpoint (#314) 2024-10-30 02:16:39 +01:00
Konstantin Wohlwend
ef7707ad1f chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-29 17:40:41 -07: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
Konstantin Wohlwend
a3b5d26df3 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-27 17:04:43 -07:00
Konstantin Wohlwend
a0917f5e0a chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-23 08:35:55 -07:00
Zai Shi
7ce2e8ac19
Fixed some hidden fields in docs (#318) 2024-10-23 02:32:29 +02:00
Zai Shi
1bcdcaee59
Added Team SDK docs (#316)
Added SDK docs for
- Team
- TeamProfile
- TeamUser
- TeamPermission
2024-10-23 01:05:51 +02:00
Konstantin Wohlwend
935e4eb065 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-22 10:46:15 -07:00
Zai Shi
363bfa9bed
OTP auth on the client SDK and dashboard (#309)
Fixed the bug that user creation doesn't check the otp/password configs correctly
UX improvement: added otp auth to user creation on the dashboard
Improved user creation docs
Added otp auth to user creation SDK
2024-10-22 00:03:56 +02:00
Zai Shi
e6b898126e
Contact channel client (#290)
Added contact channels to stack-app
Added emails, OTP, and password settings to the account settings page
Added /api/v1/auth/password/set
Added otp_auth_enabled to users endpoints
2024-10-20 01:01:25 +02:00
Zai Shi
a26619cf70 chore: update package versions 2024-10-19 11:04:47 -07:00
Konstantin Wohlwend
8643f04486 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-18 16:35:48 -07:00
Konstantin Wohlwend
48a5b07a31 Improve wait(...) input validation error message 2024-10-18 11:57:33 -07:00
Konstantin Wohlwend
787d6ecce4 wait(...) no longer requires integers 2024-10-18 11:44:18 -07:00
Zai Shi
ad5efd947a
Fixed custom account setting page routing problems (#305)
Use hash routing for account setting page
2024-10-18 20:28:29 +02:00
Konstantin Wohlwend
9ec4433cf5 Input validation on wait(...) function
setTimeout picks 0 whenever the input doesn't fit in a 32-bit integer, so we reject such values

(see: https://news.ycombinator.com/item?id=41872010 )
2024-10-18 11:21:35 -07:00
Zai Shi
f62754003c chore: update package versions 2024-10-17 17:25:09 -07:00
Zai Shi
18d75fbf21
Contact channel APIs (#288)
* 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

* added contact channel api

* added new send-verification-code route

* updated tests

* added contact channel create tests, fixed bug

* added more tests, removed update

* added more tests

* added more tests

* added more tests

* fixed typecheck

* fixed route structure

* fixed bugs, fixed tests

* added more tests

* added more tests

* fixed tests

* fixed tests

* implemented new merge account logic

* moved user create of otp sign in to after the first email verification

* added cc updates

* fixed bugs

* added more tests

* added more flows

* uncomment tests

* added primary updates

* Update apps/e2e/tests/backend/endpoints/api/v1/contact-channels/legacy-send-verification-code.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/e2e/tests/backend/endpoints/api/v1/auth/otp/sign-in.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* updated test names

* Update apps/e2e/tests/backend/endpoints/api/v1/auth-flows.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/e2e/tests/backend/endpoints/api/v1/auth-flows.test.ts

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* Update apps/backend/src/app/api/v1/auth/oauth/callback/[provider_id]/route.tsx

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>

* fixed lint

* fixed lint

* fix lint

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-14 02:12:56 +02:00
Konstantin Wohlwend
9da481b2cd Require newline at the end of each file 2024-10-13 13:06:38 -07:00
Konstantin Wohlwend
18432c56c1 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-11 17:54:39 -07:00
Konstantin Wohlwend
cd4c259f0f JWKS endpoint now uses base64url 2024-10-11 17:09:24 -07:00
Konstantin Wohlwend
37de59a615 chore: update package versions 2024-10-09 22:16:54 -07:00
Konstantin Wohlwend
59f111db95 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-10-09 16:18:28 -07:00
Konstantin Wohlwend
9d7c8ce405 chore: update package versions 2024-10-09 13:42:32 -07:00
Zai Shi
7818293274 chore: update package versions 2024-10-08 17:23:38 -07:00
Konstantin Wohlwend
aa32113cdb chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
2024-10-07 14:28:22 -07: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
Konstantin Wohlwend
a9722eec23 chore: update package versions 2024-10-06 15:18:33 -07: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
d0b3d6e620
Fix team creation on the server not automatically adding the current user (#266)
* add_current_user => creator_user_id

* added more tests

* added error checks

* removed getIdFromUserIdOrMe

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-10-01 06:11:00 +02:00
Konstantin Wohlwend
ce46c16e6d chore: update package versions 2024-09-30 20:05:45 -07:00
Konstantin Wohlwend
e446c31d50 chore: update package versions
Some checks failed
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
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2024-09-26 10:01:42 -07:00
Zai Shi
ce1a931710
Fixed yup union error message (#278) 2024-09-26 03:07:30 +02:00
Konstantin Wohlwend
f1bffee8b9 userIdOrMe support on all yup validations 2024-09-24 19:42:10 -07:00
Zai Shi
70a1e65723 fixed env vars
Some checks failed
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
2024-09-24 16:05:46 -07: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