<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>

Setting the username and password

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)

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5aba3dad-f74b-4e82-8238-a61c9b259999/Untitled.png

In that file, put your desired username and password separated by a colon (:), e.g. fangio:fastest

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e4990011-75c4-455a-8ca5-2302e270be79/Untitled.png

That username and password is what you have to enter when you want to access the dedicated manager web client.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6b2c4c2b-9d63-48fe-a219-8d6982deae4a/Untitled.png

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.

Using the credentials in your API calls

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]>

Changing the credentials

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.