mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Add more explanation on how to set up via environment variable
This commit is contained in:
parent
fb6f521e2b
commit
2595319727
1 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,11 @@ Note: only "openid" and "profile" scopes are supported due limitations by Valve/
|
|||
Add your Steam API Key as user-secrets like this:
|
||||
`dotnet user-secrets set "Authentication:Steam:ApplicationKey" "MySteamApiKey"`
|
||||
|
||||
Alternatively you can set it up via environment variables:
|
||||
`-e Authentication__Steam__ApplicationKey: 'Your Steam ApiKey‘`
|
||||
(Keep in mind that this is easier but more insecure)
|
||||
|
||||
|
||||
After that set up your redirect URI, ClientID and ClientSecret in the appsettings.json.
|
||||
|
||||
## Health checks
|
||||
|
@ -25,7 +30,7 @@ docker run -it \
|
|||
-e OpenID__RedirectUri=http://localhost:8080/auth/realms/master/broker/steam/endpoint \
|
||||
-e OpenID__ClientID=steamidp \
|
||||
-e OpenID__ClientSecret=mysecret \
|
||||
-e Authentication__Steam__ApplicationKey=MySteamApiKey \
|
||||
-e Authentication__Steam__ApplicationKey=MySteamApiKey \
|
||||
--restart unless-stopped \
|
||||
--name steamidp \
|
||||
imperialplugins/steam-openid-connect-provider
|
||||
|
|
Loading…
Reference in a new issue