Skip to content

id_access_token put in too many places #2292

Closed
@anoadragon453

Description

@anoadragon453

id_access_token is only required for the following endpoints:

  • POST /account/3pid
  • POST /createRoom if you are using the invite_3pid param.

None of the /requestToken endpoints need it as the homeserver decides what identity server to use in this case. In the case of binding an email to an identity server through the homeserver, the client should call the /requestToken endpoint directly on the identity server instead.

MSC2290 changes things slightly:

  • POST /account/3pid is deprecated
  • POST /account/3pid/add new endpoint. Doesn't require id_server or id_access_token.
  • POST /account/3pid/bind new endpoint. Does require id_server and id_access_token.

The new endpoint are subject to change as the MSC progresses of course.

I'm not entirely sure about the m.login.email.identity and m.login.msisdn entries though...

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