I've done auth with google when client auth, receive token_id, send it to server and server retrieve client account info base of that token_id. It was pretty easy because it was documented. Now I try to do with Steam but literally I have 4 rows about OpenID in steam docs. I start using an openID browser lib oidc-client-js but steam docs doesn't help me. The openID lib require this fields:
- authority
- client_id
- redirect_uri
- response_type
- scope
Steam docs offer just the provider, key and domain name and I really don't know where to start.
Just download an OpenID library for your language and platform of choice and use http://steamcommunity.com/openid as the provider. The returned Claimed ID will contain the user's 64-bit SteamID. The Claimed ID format is: http://steamcommunity.com/openid/id/
I get CORS Header problem because I use localhost and not a secure connection and I think I need to configure additional fields in oidc-client-js:
- metadata
- signingKeys
Any help will be appreciated.