File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # MSC3069: Allow guests to use /account/whoami
2
+
3
+ Currently the [ /account/whoami] ( https://matrix.org/docs/spec/client_server/r0.6.1#get-matrix-client-r0-account-whoami )
4
+ endpoint does not mention anything about guests, which is a bit of an oversight. The implementation
5
+ of the endpoint got created such that guest access was declined.
6
+
7
+ ## Proposal
8
+
9
+ Guests are allowed to use ` /account/whoami ` . When a guest makes a request, the response will have
10
+ an added ` is_guest: true ` field - this field is optional (default ` false ` ) otherwise.
11
+
12
+ ## Potential issues
13
+
14
+ None forseen. This corrects a mistake.
15
+
16
+ ## Alternatives
17
+
18
+ None relevant.
19
+
20
+ ## Security considerations
21
+
22
+ Guests will be able to know their user ID, as they would when they registered in the first place.
23
+
24
+ ## Unstable prefix
25
+
26
+ While this MSC is not in a stable version of the specification, implementations should use
27
+ ` org.matrix.msc3069.is_guest ` in place of ` is_guest ` . Callers should note that they might see
28
+ ` M_GUEST_ACCESS_FORBIDDEN ` errors if the server is not implementing this MSC.
You can’t perform that action at this time.
0 commit comments