Request a refresh token in the device-code-grant.sh helper script (#4974)

This commit is contained in:
Quentin Gliech
2025-09-12 15:47:15 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ This can be run from anywhere, not necessarily from the host where MAS is runnin
sh ./misc/device-code-grant.sh [synapse-url] <scope>...
```
This will prompt you to open a URL in your browser, finish the authentication flow, and print the access token.
This will prompt you to open a URL in your browser, finish the authentication flow, and print the access and refresh tokens.
This can be used to get access to the MAS admin API: