stack/apps/e2e/tests/backend/endpoints/api/v1
BilalG1 9fa7e3b0c3
fix team invites (#993)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Refactor**
* Invitation flow now derives the invitation link from a provided origin
rather than accepting a full callback URL.

* **Bug Fixes / Security**
* Enforced origin whitelist for invitation redirects to prevent
untrusted callback URLs.

* **Tests**
* Added a test ensuring untrusted callback URLs are rejected with a
proper error response.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
2025-11-05 13:17:33 -08:00
..
__snapshots__ Anonymous users (#566) 2025-03-20 18:24:19 -07:00
auth Normalize emails on sign-in 2025-10-29 17:58:29 -07:00
contact-channels project owner team (#835) 2025-08-19 11:42:11 -07:00
integrations Customizable ports (#962) 2025-10-20 15:24:47 -07:00
internal Customizable ports (#962) 2025-10-20 15:24:47 -07:00
payments inline product metadata (#963) 2025-10-27 10:03:44 -07:00
api-keys.test.ts Config DB migration step 2 (#629) 2025-04-29 14:52:45 -07:00
auth-flows.test.ts Fix tests 2025-07-16 11:42:25 -07:00
check-feature-support.test.ts More backend endpoint implementations (#126) 2024-07-13 22:04:53 -07:00
connected-accounts.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
data-vault.test.ts Data vaults (#871) 2025-08-30 23:42:56 -07:00
email-themes.test.ts Email sending sdk function, freestyle mock, small fixes (#813) 2025-08-01 18:40:28 -07:00
index.test.ts Significantly faster users/[user_id] endpoint (and some others) (#998) 2025-11-05 09:15:36 -08:00
internal-metrics.test.ts Better metrics test 2025-10-14 00:28:48 -07:00
notification-preferences.test.ts Send email route and notification settings page (#717) 2025-07-01 19:17:53 -07:00
oauth-providers.test.ts OAuth provider client and dashboard (#792) 2025-09-10 10:48:19 +02:00
project-permission-definitions.test.ts Config DB migration step 2 (#629) 2025-04-29 14:52:45 -07:00
project-permissions.test.ts project owner team (#835) 2025-08-19 11:42:11 -07:00
projects.test.ts Significantly faster users/[user_id] endpoint (and some others) (#998) 2025-11-05 09:15:36 -08:00
render-email.test.ts Email Drafts (#849) 2025-09-10 22:57:18 +00:00
send-email.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
stripe-webhooks.test.ts product card fixes, payments test mode (#928) 2025-10-07 18:07:13 +00:00
team-invitations.test.ts fix team invites (#993) 2025-11-05 13:17:33 -08:00
team-member-profiles.test.ts Config DB migration step 2 (#629) 2025-04-29 14:52:45 -07:00
team-memberships.test.ts project owner team (#835) 2025-08-19 11:42:11 -07:00
team-permission-definitions.test.ts Fix error where deleting a team creator default permission would make the dashboard crash 2025-08-11 17:42:54 -07:00
team-permissions.test.ts project owner team (#835) 2025-08-19 11:42:11 -07:00
teams.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
unsubscribe-link.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00
users.test.ts Customizable ports (#962) 2025-10-20 15:24:47 -07:00