P
P
Perzh2014-05-03 18:07:38
Django
Perzh, 2014-05-03 18:07:38

Authorization on the site using Steam OpenID

Hello.
I'm trying to tie authorization using a Steam account. Please explain what needs to be done for this?
The documentation says:

Steam OpenID Provider
Steam can act as an OpenID provider. 
This allows your application to authenticate a user's SteamID 
without requiring them to enter their Steam username or password 
on your site (which would be a violation of the API Terms of Use.) 
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/<steamid>

As I understand it, the link from my site should lead to steamcommunity.com/openid, where the user logs in, then from there I receive a link like steamcommunity.com/openid/id/, where steam)id is the unique identifier of the steam user, with which I I can find out all the open information using the SteamAPI.
Question: how to do it? Is it enough to just post a link to steamcommunity.com/openid, how will I get a response? What happens after authorization on the provider's website? Is it necessary to use some third-party modules for this, or is it easier to do it manually?
Thanks in advance
PS:
For example, consider two sites: dotabuff.com and steamprofile.com/.
The link from the steamprofile leads to https://steamcommunity.com/openid/login, where the authorization form is located.
The link from dotabuff leads to https://steamcommunity.com/openid/login + a bunch of get parameters, with the same authorization form.
PPS:
I'm making the site on Django (if it matters).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2014-05-03
@Perzh

www.reddit.com/r/django/comments/18e9p7/steam_open...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question