Konstantin Wohlwend
58eaa6841f
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-04-07 10:39:27 -07:00
Moritz Schneider
592d259dde
Api Keys ( #590 )
...
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<img width="1510" alt="image"
src="https://github.com/user-attachments/assets/99619123-6be5-4788-aebe-5fc2a9a36245 "
/>
<img width="1510" alt="image"
src="https://github.com/user-attachments/assets/660677bf-f19a-4673-94c8-59ac50eb6ae5 "
/>
<img width="1510" alt="image"
src="https://github.com/user-attachments/assets/11ae63c4-5813-4fd8-aa01-fa580d2103be "
/>
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Introduces API key management for users and teams, integrating with
existing project configurations and permissions, and adds comprehensive
tests and examples.
>
> - **API Key Management**:
> - Introduces `ProjectApiKey` model in `schema.prisma` for managing API
keys.
> - Adds `createApiKeyHandlers` in `handlers.tsx` to handle API key CRUD
operations.
> - Implements API key creation, revocation, and validation logic.
> - **Permissions and Configurations**:
> - Adds `allowUserApiKeys` and `allowTeamApiKeys` to `ProjectConfig` in
`schema.prisma`.
> - Updates `TeamSystemPermission` enum to include `MANAGE_API_KEYS`.
> - Ensures API key operations respect project configurations and
user/team permissions.
> - **Testing and Examples**:
> - Adds extensive tests in `api-keys.test.ts` to cover various API key
scenarios.
> - Updates example projects to demonstrate API key usage.
> - **Miscellaneous**:
> - Refactors existing code to integrate API key functionalities.
> - Updates documentation and type definitions to reflect new API key
features.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173 ">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral )<sup>
for 96f60c57f0 . It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
---------
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-04-04 13:03:10 -07:00
Konstantin Wohlwend
7873dcef19
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-04-04 10:12:44 -07:00
Konstantin Wohlwend
7bf5149f91
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-31 09:24:30 -07:00
Konstantin Wohlwend
0575dff9c8
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-27 11:28:29 -07:00
Konstantin Wohlwend
edfb10aef4
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (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
2025-03-20 18:32:00 -07:00
Konstantin Wohlwend
57b49a19d6
chore: update package versions
2025-03-20 10:16:50 -07:00
Konstantin Wohlwend
656bf4c44b
chore: update package versions
2025-03-19 12:54:10 -07:00
Konstantin Wohlwend
db4e2b0930
chore: update package versions
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Preview Docs / run (push) Has been cancelled
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (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
2025-03-12 19:03:12 -07:00
Konstantin Wohlwend
474dc4efe1
chore: update package versions
2025-03-12 10:28:45 -07:00
CactusBlue
ef6248dd87
Option for merging/blocking account creations with same email but different oauth provider ( #502 )
...
* Add SettingSelect component and sign-up mode configuration
* update schema
* update schema
* add merge oauth schema fields
* update test snapshots
* reformat the file
* add mergeOauthMethods in the UI
* Improve documentation with minor enhancements and fixes (#466 )
* Improve PATCH /users/me performance
* Neon domain (#488 )
* React setup docs (#491 )
* chore: update package versions
* Update branding from Stack to Stack Auth in documentation (#504 )
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: zai@stack-auth.com <zai@stack-auth.com>
* Improve inner OAuth cookie error description
* Fix tests
* Add several spans
* Fix Next.js navigation
* chore: update package versions
* add handler config
* Fix conditional hooks in account settings page
* Add `pnpm run claude-code`
* Fixed docs image ratio (#507 )
* Documentation Updates (#508 )
* add links
* moar
* fix broken links
* fixed images
* updated readme
* Add Python SDK tab to docs
* Fix broken links
* Prefix `pnpm pre` before `pnpm dev`
* Automatically update pull request branches (#509 )
* Give PR updater more permissions
* Ignore PR merge conflicts in GH Actions
* [DEVIN: Konsti] Add userCount property to Project table with automatic update trigger (#506 )
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
* chore: update package versions
* rewrite as toMatchobject
* fix test
* test again
* fix
* update claude
* fix migrations
* fix migration
* fix types
* Update CLAUDE.md
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
* more instructions
* fix
* what was i on
* wew
* factor things
* correct the flow
* Update apps/backend/src/app/api/latest/auth/oauth/callback/[provider_id]/route.tsx
Very good catch
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* rename everything
* fix more
* fix typeerror
* update all the tests
* modify migration for legacy projects
* add loading state
* enable email verification for tests
* update test
* get a failing test
* the test works now
* remove debug console log
* change error
* no lowercase
* use typedToUpper/Lowercase
* capture err
* fix types
* modify error throw
* fixed
* add working tests
* documentation update
* Update apps/e2e/tests/backend/endpoints/api/v1/auth/oauth/merge-strategy.test.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* remove eslint rule
* fix json args
* documentation update
---------
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: zai@stack-auth.com <zai@stack-auth.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-10 21:25:12 +00:00
Konstantin Wohlwend
37b9c19a79
chore: update package versions
2025-03-10 11:18:15 -07:00
Moritz Schneider
dcee4acc42
Fix table header buttons ( #515 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-03-07 22:26:53 -08:00
CactusBlue
63747df29e
Project Cards should use Links ( #513 )
...
* make cards clickable
* remove ClickableCard as it is no longer used anywhere
* fixed
2025-03-07 01:54:47 -08:00
Konstantin Wohlwend
b973a52cd4
chore: update package versions
Update pull request branches / Update pull request branches (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-05 09:42:18 -08:00
Konstantin Wohlwend
f6c2bdcd6a
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-03-03 22:05:36 -08:00
Konstantin Wohlwend
18e68300a4
chore: update package versions
2025-03-03 18:06:45 -08:00
Konstantin Wohlwend
d77961b96d
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests / build (latest) (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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-28 11:55:38 -08:00
Konstantin Wohlwend
0def869ee7
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
Dev Environment Test / test (push) Has been cancelled
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-27 10:50:41 -08:00
Zai Shi
da1b95ec3b
React SDK ( #462 )
2025-02-27 01:55:45 +01:00
Konstantin Wohlwend
01014ed901
chore: update package versions
2025-02-26 11:04:13 -08:00
Konstantin Wohlwend
7cfb164e92
chore: update package versions
2025-02-20 16:05:36 -08:00
Konstantin Wohlwend
fc811c8f15
chore: update package versions
2025-02-20 15:17:44 -08:00
CactusBlue
6692194250
Improve auth method selection ( #442 )
...
* move brand icons
* add icons
* modify the auth page
* change how dialog works
* preview
* improve the auth methods page
* better predicate types
* convert to table
* fix more stuff
* refactor
* add default case
* edit table
* add config
* add brand colors
* icon refresh
* fix a bug with shared tooltips
* Refactor auth methods page and preview with UI improvements
* Simplify provider update confirmation with async/await
* Update packages/stack-ui/src/components/brand-icons.tsx
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
* update deps
* more fixes
---------
Co-authored-by: Zai Shi <zaishi00@outlook.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-18 20:54:24 -08:00
Konstantin Wohlwend
018b04e825
chore: update package versions
2025-02-18 15:54:13 -08:00
CactusBlue
816d64c850
In-source unit tests ( #429 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-02-14 11:47:52 -08:00
Konstantin Wohlwend
c452f9c584
chore: update package versions
2025-02-14 10:19:08 -08:00
Konstantin Wohlwend
2e8d5edcfc
chore: update package versions
2025-02-12 10:35:56 -08:00
Konstantin Wohlwend
622f9f6f0d
Fix loading button indicator positioning
2025-02-11 20:36:43 -08:00
CactusBlue
84ffe3b4f1
User page redesign ( #405 )
...
* Squash
* fixes
* change router
* correct it again
---------
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
2025-02-09 20:57:55 -08:00
Konstantin Wohlwend
a733a4e276
chore: update package versions
2025-02-09 14:36:44 -08:00
Konstantin Wohlwend
8bd73f0d99
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-04 16:50:47 -08:00
Konstantin Wohlwend
ba494fc27e
chore: update package versions
2025-02-04 16:42:42 -08:00
Konstantin Wohlwend
7115f21980
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
Run setup tests / test (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
2025-02-04 16:17:26 -08:00
Konstantin Wohlwend
18d4371db0
chore: update package versions
2025-02-03 15:03:38 -08:00
Konsti Wohlwend
c857003f9c
Glassy dashboard style ( #411 )
2025-02-03 10:03:35 -08:00
Konstantin Wohlwend
f2bf3faa2b
chore: update package versions
2025-01-27 14:58:18 -08:00
Konstantin Wohlwend
2f0ec414fe
chore: update package versions
2025-01-27 14:34:09 -08:00
Zai Shi
3a73338a10
chore: update package versions
2025-01-21 13:11:53 -08:00
Konstantin Wohlwend
ff7c72798b
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
2025-01-11 23:05:20 -08:00
Konstantin Wohlwend
bca8202fee
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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
2025-01-03 18:01:00 -08:00
Konstantin Wohlwend
dc91c25937
Improve metrics page chart sizing on Safari
2024-12-29 19:07:35 -08:00
Konstantin Wohlwend
4acc91fc29
chore: update package versions
2024-12-29 12:28:53 -08:00
Konstantin Wohlwend
ca8fa28d15
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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-12-27 11:49:14 -08:00
Konstantin Wohlwend
9afde9f0d6
chore: update package versions
2024-12-24 10:53:36 -08:00
Konstantin Wohlwend
4199f929bf
object-curly-spacing rule
2024-12-23 19:37:05 -08:00
Konstantin Wohlwend
ca27239929
chore: update package versions
2024-12-23 12:11:11 -08:00
CactusBlue
cd35e8cdc4
Dashboard Metrics ( #361 )
...
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2024-12-22 12:02:21 -08:00
Konstantin Wohlwend
c28a80d065
chore: update package versions
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Test / docker (push) Has been cancelled
Runs E2E API Tests / build (20.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-12-19 16:00:11 -08:00
Konstantin Wohlwend
ebc2694e5f
chore: update package versions
2024-12-19 13:10:05 -08:00