e2e-auth-tests:0.4.9 - cover GET /api/me/invitations isolation between users#141
Merged
Conversation
…n users Adds a spec that creates two unrelated regular users, has the superuser issue an org invitation to one of them, and asserts the invitee sees the pending invitation on GET /api/me/invitations while a different authenticated user does not see it in their own response. The endpoint previously had no direct coverage of the invitee_uid filter that prevents cross-user invitation leakage.
jalexw
pushed a commit
that referenced
this pull request
Jun 18, 2026
…sed v4 generator Cypress browser context lacks crypto.randomUUID() because the auth server is not served from a secure context. Mirrors the workaround already documented in example_resource_server/ExternalJwksLoad.cy.ts. Bumps the package to 0.4.10 to avoid colliding with main's 0.4.9 from #141. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01442m5sYx1WZgfdcmfyRkr2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a spec that creates two unrelated regular users, has the superuser
issue an org invitation to one of them, and asserts the invitee sees the
pending invitation on GET /api/me/invitations while a different
authenticated user does not see it in their own response. The endpoint
previously had no direct coverage of the invitee_uid filter that
prevents cross-user invitation leakage.