From 25953197274b7352db0f6c87c294ecc76ac7b011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Fri, 27 Dec 2019 18:23:53 +0300 Subject: [PATCH] Add more explanation on how to set up via environment variable --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17dadb9..0570325 100644 --- a/README.md +++ b/README.md @@ -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