yohcop / openid-go

OpenID consumer implementation in Go - golang
Other
83 stars 40 forks source link

Steam specific additions #25

Closed xStrom closed 8 years ago

xStrom commented 8 years ago

Steam seems to be one of the last major OpenID 2.0 providers with absolutely no alternative auth method publicly planned. Thus I expect a good chunk of new users of this library to use it for Steam.

There's some anecdotal evidence of this in issue #11, in random reddit threads mentioning using this library with Steam, and I myself am planning on using it exclusively for Steam.

This patch introduces some Steam specific additions. 1) A real-world discover test. 2) A predefined button in the example. 3) A defined realm in the example. Steam makes this a mandatory parameter. Having it in the example will make life easier for Steam users, while having no negative effect on others.

yohcop commented 8 years ago

Thanks a lot!