Steam Authentication
SnailyCADv4 supports Steam authentication. In this guide, you will learn how to enable it.
Create Steam API key
If you already have an API key in the Steam developer portal, you can skip this step.
- head to https://steamcommunity.com/dev/apikey
- Generate a new API key
- Copy the
Key
(these will be used later)
Update .env
Once everything is correctly setup above, we can continue.
- Open the
.env
file - Add the following lines
note
This must be placed at the bottom of SnailyCAD's .env file
STEAM_API_KEY=""
- Enter the copied API key from earlier
- Run this command in the root of the CAD:
node scripts/copy-env.mjs --client --api
- Restart the entire CAD.
- Enable the feature from the CAD Settings -> Features ->
Steam Oauth