Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSC3231: Token authenticated registration #3231

Merged
merged 15 commits into from
Sep 27, 2021

Commits on Jun 4, 2021

  1. Proposal for token authenticated registration

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    79c74c2 View commit details
    Browse the repository at this point in the history
  2. Hard-wrap lines

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    0a93e43 View commit details
    Browse the repository at this point in the history
  3. Link to released version of spec

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    5b93cfd View commit details
    Browse the repository at this point in the history
  4. Fix unstable prefix wording

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    1606dc4 View commit details
    Browse the repository at this point in the history
  5. Tokens should only be invalidated after registration

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    5ba0996 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Change auth type to m.login.registration_token

    This is consistent with the other UIAA auth types, and does not suggest
    that other `m.login.*` types cannot be used for registration.
    
    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    aa8e896 View commit details
    Browse the repository at this point in the history
  2. Add proposal for checking the validity of a token

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    84b9976 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. Fix validity checking endpoint

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    7e73525 View commit details
    Browse the repository at this point in the history
  2. Limit allowed characters and length of token

    This allows tokens to be used easily in query parameters
    
    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    22f1f93 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Give reason for limiting token length and chars

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    32a9c01 View commit details
    Browse the repository at this point in the history
  2. Note all stages must be complete for registration

    Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
    govynnus and anoadragon453 committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    80fc0ed View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Fix mistake in MSC number

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    88edde6 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2021

  1. Validity checking should be rate limited

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Aug 30, 2021
    Configuration menu
    Copy the full SHA
    2433c9f View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Change v1 to r0

    Signed-off-by: Callum Brown <callum@calcuode.com>
    govynnus committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    5eb8a8b View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Include . and ~ in allowed characters for registration tokens

    For consistency with the unreserved URL characters in RFC3986
    
    https://www.ietf.org/rfc/rfc3986.html#section-2.3
    
    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    govynnus and richvdh committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    79939f9 View commit details
    Browse the repository at this point in the history