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
feat(auth): Return auth error if application is requesting a wrong org (#81193)
If an application is organization scope application, their tokens will
only have access to one organization of a user. So we should return auth
error if:
1. They're calling an API on an organization that is not the same as the
org in the token
2. They're calling an API that is not limited to one organization, for
example list all user's project
[In a previous PR](#80012) I
added some logging to make sure this doesn't break other integrations.
It actually does, so I have to limit this to
token.scoping_organization_id vs token.organization_id
0 commit comments