Steam OpenID Connect Identity Provider (IdP)
Find a file
neothor 6372263571
Merge pull request #2 from neothor/add-basepath
Added support for PathBase to be used behind a reverse proxy
2019-12-27 09:53:34 +01:00
.github/workflows Use docker hub actions 2019-12-27 01:13:43 +07:00
src Added support for PathBase to be used behind a reverse proxy 2019-12-27 04:26:50 +07:00
.dockerignore Initial code commit 2019-05-02 00:41:28 +03:00
.gitattributes Add gitattributes 2019-05-02 00:58:57 +03:00
.gitignore Add AddDeveloperSigningCredential 2019-05-02 01:09:56 +03:00
Dockerfile Add expose 2019-11-15 03:22:21 +03:00
LICENSE Initial commit 2019-05-02 00:28:11 +03:00
README.md Update README with github action badge 2019-12-27 01:19:32 +07:00
SteamOpenIdConnectProvider.sln Rename to steam-openid-connect-provider; add health checks 2019-10-13 17:18:29 +03:00

Steam OpenId Connect Provider

Steam OpenID 2.0 -> OpenID Connect Provider Proxy

About

Steam still uses the old OpenID 2.0 authentication protocol. Since ImperialPlugins.com has migrated to KeyCloak we were unable to migrate our old Steam logins as KeyCloak does not support OpenID 2.0.

This server will act as an OpenID Connect provider which will provide Steam authentication for you. This way you can use Steam logins in KeyCloak or any other OpenID Connect based authentication client.

Note: only "openid" and "profile" scopes are supported due limitations by Valve/Steam.

Setup

Add your Steam API Key as user-secrets like this: dotnet user-secrets set "Authentication:Steam:ApplicationKey" "MySteamApiKey"

After that set up your redirect URI, ClientID and ClientSecret in the appsettings.json.

Health checks

This service contains a health check endpoint at /health. It checks if the Steam login server is up.

Docker

A docker image is also available.

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 \
    --restart unless-stopped \
    --name steamidp \
    imperialplugins/steam-openid-connect-provider

License

MIT