You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/access-token.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Get an access token
2
2
3
-
The [Matrix Authentication Service repository contains a simple shell script](https://github.com/element-hq/matrix-authentication-service/blob/main/misc/device-code-grant.sh) to get interatively get an access token with arbitrary scopes.
3
+
The [Matrix Authentication Service repository contains a simple shell script](https://github.com/element-hq/matrix-authentication-service/blob/main/misc/device-code-grant.sh) to interactively get an access token with arbitrary scopes.
4
4
It requires `sh`, `jq` and `curl` to be installed.
5
5
This can be run from anywhere, not necessarily from the host where MAS is running.
6
6
@@ -28,4 +28,4 @@ Or even both at the same time:
28
28
sh ./misc/device-code-grant.sh https://synapse.example.com/ urn:matrix:org.matrix.msc2967.client:api:* urn:mas:admin urn:synapse:admin:*
29
29
```
30
30
31
-
Note that the token will be valid for a short time (5 minutes by default) and needs to be revoked manually from the MAS user interface.
31
+
Note that the token will only be valid for a short time (5 minutes by default) and needs to be revoked manually from the MAS user interface.
0 commit comments