Skip to content

Ability to mint access_tokens with restricted scope. #725

@ara4n

Description

@ara4n

There are many scenarios where it'd be useful to be able to give a client or AS or bot or widget or some other service limited access to your account:

  • To limit access to other APIs (e.g. to forbid an untrusted client from being able to read account_data, or to read your 3PID bindings, or attempt E2EE etc).
  • To hand access to a subset of rooms to a limited account (e.g. a read-only HUD)
  • To allow a double-puppetted bridge to send messages as your real user, but only in bridged rooms

In the past this has got a bit derailed by the idea of replacing our auth system entirely by OAuth2: https://github.com/matrix-org/matrix-doc/issues/2615 - and meanwhile an MSC trying to do something very similar to this got abandoned: matrix-org/matrix-spec-proposals#531. So I'm reopening this as a high level issue for folks to upvote and coordinate via.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions