Generate AUTH Token - Alderon-Games/pot-community-servers GitHub Wiki
[!CAUTION] We have moved our documentation to a new location! Please visit Server Authentication for the most up-to-date information for this page.
Setup Server Authentication Token
Both AlderonGamesCmd
and PathOfTitansServer
will need user authentication to the Alderon Games Platform, this can be any account that has access to the game. If you want to hive the database of two servers together using -Database=Remote
, they will need to the same account. These are specified in the examples as a email and password, however you can also optionally specify -AuthToken=
for PathOfTitansServer
by using the token generated via this page here after signing in.
Due to Windows having a 1024 character limit on command line argument and it being a Json Web Token which is fairly long, we have added the ability to specify it via Process Environment Variable instead. You can use the environment variable AG_AUTH_TOKEN
instead.
▶ Generate AUTH Token Here ◀
When accessing the AUTH Token page, you must be logged in with an account that owns the game. This account should be secure, as it will be the AUTH host account for your server.
Please note that after you click "Generate New Token", the page will not display your same token twice if you leave or refresh the page. This is done for security reasons. If you have lost or forgotten your token, you can generate another one via the page, just make sure you update your server with the new token. When you generate a new token any old tokens will be revoked, which can cause issues if they are still in use.