Commit Graph

1099 Commits

Author SHA1 Message Date
Konsti Wohlwend
32e32d2574
Make doctoc update all files (#311) 2024-10-21 19:04:25 -07:00
Konstantin Wohlwend
35f1240ce7 Add doctoc to CONTRIBUTING.md 2024-10-21 17:22:53 -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
3ba900fc30 Revert "added filtering params"
This reverts commit 93c89a0392.
2024-10-21 13:20:48 -07:00
Zai Shi
93c89a0392 added filtering params 2024-10-21 13:10:15 -07:00
Zai Shi
7b0d955792 added jwt tests again 2024-10-21 09:37:45 -07:00
Konstantin Wohlwend
6a8bd41e4b Disable Prettier in VSCode settings 2024-10-21 09:34:59 -07:00
Konstantin Wohlwend
e4677a8ea1 Remove unnecessary envvar 2024-10-21 09:26:40 -07:00
Konstantin Wohlwend
a79add4103 TOTP retry 2024-10-21 08:47:35 -07:00
Konstantin Wohlwend
de68bfc5c4 Update README 2024-10-21 08:32:07 -07:00
Konstantin Wohlwend
c45b36e3a4 Update README 2024-10-21 08:30:53 -07:00
Konstantin Wohlwend
8889bd820b Update README 2024-10-21 08:24:12 -07:00
N2D4
84a6403a98 chore(docs): update TOC 2024-10-21 15:23:59 +00:00
Konstantin Wohlwend
d70a13f0e9 Add port mapping to README 2024-10-21 08:23:44 -07:00
Konstantin Wohlwend
9546b8df4b Use pnpm run build:dev in setup script 2024-10-21 08:19:14 -07:00
Zai Shi
2f761c6467
SDK classes/hooks reference docs (#301)
Split up SDK reference and component reference
Added User and StackApp reference
Fixed stackServerApp.createUser function options
2024-10-20 23:56:43 +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
Zai Shi
1303231b12 fixed account settings bugs 2024-10-19 11:03:52 -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
932d55a25e fixed visual bugs 2024-10-16 22:42:43 -07:00
Zai Shi
a47736cdd7 fixed overflows 2024-10-16 22:41:20 -07:00
Zai Shi
73641dd0d0 removed test code 2024-10-16 19:36:48 -07:00
Zai Shi
2ad9247ab0
Added waitUtil for analytics/webhooks so it is non-blocking (#303)
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-10-17 04:15:21 +02:00
Zai Shi
efaf6db3f7 fixed translation 2024-10-15 18:22:27 -07:00
Zai Shi
e9a9bef7e7
SDK docs (#300)
* trigger changes

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-handler.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/selected-team-switcher.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/credential-sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/use-user.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/credential-sign-up.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/sign-up.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/password-reset.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/account-settings.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/use-stack-app.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/user-button.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/auth-page.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/message-card.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/magic-link-sign-in.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-provider.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/oauth-button-group.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/oauth-button.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/email-verification.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/forgot-password.mdx

* Patched /tmp/tmp_r_s8ha0/docs/fern/docs/pages/sdk/stack-theme.mdx

* Patched /tmp/tmp3hhqor8i/docs/fern/docs/pages/sdk/stack-handler.mdx

* improved docs

* updated docs

* improved docs

* added credential sign in component image

* updated docs

* updated docs

* updated docs

* updated docs

* improved docs

* improved docs

* added user-button image

* improved docs

---------

Co-authored-by: patched.codes[bot] <298395+patched.codes[bot]@users.noreply.github.com>
2024-10-15 20:11:44 +02:00
Zai Shi
f61bd74337 updated email domain text on dashboard 2024-10-15 09:51:22 -07:00
Zai Shi
70d0e1038b removed button and input shadow 2024-10-14 17:12:51 -07:00
Zai Shi
952fa0bb5c only show "sign-in" after email verification if the user is not authenticated 2024-10-14 15:17:59 -07:00
Manoj Kumar
74e5fd0f6b
fix team name overflow (#281)
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
* fix team name overflow

* fix selected team switcher team name overflow

---------

Co-authored-by: = <=>
2024-10-14 04:16:11 +02: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
Zai Shi
95ab828f14
removed client id unique constraint (#299) 2024-10-13 22:29:34 +02:00
Konstantin Wohlwend
9da481b2cd Require newline at the end of each file 2024-10-13 13:06:38 -07:00
Konstantin Wohlwend
e762832938 ensureTeamExist -> ensureTeamExists 2024-10-13 13:03:22 -07:00
Konstantin Wohlwend
f7e56a8f34 Replace typo in function name (ensureUserExist -> ensureUserExists) 2024-10-13 13:01:24 -07:00
Konstantin Wohlwend
e33afeaedc Fix component width
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-13 11:45:19 -07:00
Konsti Wohlwend
7f4537aec5
Consistent app url 2024-10-12 14:34:16 -07:00
Konstantin Wohlwend
58402dee42 Improve version alert message
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-10-11 18:02:58 -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
f10f03c3b3 Add otel spans for sent emails 2024-10-11 17:52:47 -07:00
Konstantin Wohlwend
cd4c259f0f JWKS endpoint now uses base64url 2024-10-11 17:09:24 -07:00
Zai Shi
d66900b9d0
Update README.md 2024-10-10 18:57:16 +02:00
Konstantin Wohlwend
4e195934d5 Version alerter now uses HTTPS 2024-10-09 22:31:31 -07:00
Konstantin Wohlwend
37de59a615 chore: update package versions 2024-10-09 22:16:54 -07:00
Konstantin Wohlwend
419d0038f5 Update version alerter URL 2024-10-09 22:15:17 -07:00