Skip to content

[BUG] /tps/accounts endpoint exposes cross-app information #696

@shurwit

Description

@shurwit

Describe the bug
Currently the /tps/accounts endpoint is exposing information about all org_apps_memberships on an account regardless of the app scoping on the provided token. This could potentially expose sensitive data that the caller is not intended to be able to access.

Expected behavior
Calls to the /tps/accounts should only return data for the scopes and restrictions set on the provided access token. This should include application restrictions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions