Skip to content

Commit 3df7ebe

Browse files
committed
Add note about dedi auth using the login
1 parent 6764bac commit 3df7ebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/auth/dedi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Body:
2929
{ "audience": "NadeoLiveServices" }
3030
```
3131

32+
Note that **this endpoint uses the dedicated server login, not the server's account ID**. Both are shown on [Trackmania.com's dedicated servers page](https://www.trackmania.com/player/dedicated-servers), but only the login is needed.
33+
3234
The `Authorization` header uses [Basic HTTP authentication](https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side) for your dedicated server account credentials (e.g. `username:password` becomes `Basic dXNlcm5hbWU6cGFzc3dvcmQ=`).
3335
In Go for example, this is done via [SetBasicAuth](https://pkg.go.dev/net/http#Request.SetBasicAuth) - other languages and libraries have their own utility methods for the same purpose.
3436

0 commit comments

Comments
 (0)