<aside>
⚠️ If you want your server web client to be accessible from the outside (i.e. from another computer than the one your server is running on), you must create an access
file.
</aside>
Go to the directory where the RRRE_Dedicated.exe
file is located. You can find that in Steam by right-clicking on RaceRoom Dedicated Server in your game list, then Manage > Browse Local Files. (By the way, you can put that .exe file wherever you want; it's a standalone file).
In that directory, create a file called access
(without extension)
In that file, put your desired username and password separated by a colon (:
), e.g. fangio:fastest
That username and password is what you have to enter when you want to access the dedicated manager web client.
By the way, you can bypass the login prompt by adding the username and password in your URL, like this: http://fangio:fastest@localhost:8088.
If there is an access
file present in the directory where you RRRE_Dedicated.exe
is located, you will need to pass your credentials with every API call that you do. The authentication scheme used is Basic Authentication.
Using curl, that means:
curl -u username:password <http://localhost:8088/>
In Python (using requests), that's done like this:
>>> import requests
>>> from requests.auth import HTTPBasicAuth
>>> requests.get('<http://localhost:8088/>', auth=HTTPBasicAuth('user', 'pass'))
<Response [200]>
You can edit the access
file while your server is running and thereby change the username and password required to access the server web client and API.