You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref: Gate SentryApp actor resolution on is_sentry_app
Gate the app lookup on request.user.is_sentry_app rather than application_id
alone. An OAuth client acting on behalf of a user (e.g. the MCP) also carries
an application_id but authenticates as the real user, so it must resolve to
USER -- and gating on application_id would run an app lookup (uncached on a
None result) on every such request. is_sentry_app is true only for an app's
proxy user, so only genuine app-as-itself tokens pay the cached lookup.
0 commit comments