Hey guys I was trying to use OpenAuth from SteamPowered.com but can't find anything any tips?

agolangf · · 859 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I come from Node/Js background where there are packages for everything, is there anything of the sort or would it be difficult to implement my own?</p> <p>Experience level: 1 week :)</p> <hr/>**评论:**<br/><br/>ninja_haiku: <pre><p>Do you mean <a href="http://en.wikipedia.org/wiki/OpenID" rel="nofollow">OpenID</a>? (Potentially overlapping use case as OAuth, but completely separate implementation). The only discussion I see is on <a href="http://steamcommunity.com/dev" rel="nofollow">this page</a> about OpenID.</p></pre>autowikibot: <pre><h5> </h5> <h6> </h6> <h4> </h4> <p><a href="https://en.wikipedia.org/wiki/OpenID" rel="nofollow"><strong>OpenID</strong></a>: <a href="#sfw" rel="nofollow"></a> </p> <hr/> <blockquote> <p><strong>OpenID</strong> (<strong>OID</strong>) is an <a href="https://en.wikipedia.org/wiki/Open_standard" rel="nofollow">open standard</a> and <a href="https://en.wikipedia.org/wiki/Decentralized" rel="nofollow">decentralized</a> protocol by the <a href="https://en.wikipedia.org/wiki/Non-profit_organization" rel="nofollow">non-profit</a> <strong>OpenID Foundation</strong> that allows users to be <a href="https://en.wikipedia.org/wiki/Authentication" rel="nofollow">authenticated</a> by certain co-operating sites (known as <a href="https://en.wikipedia.org/wiki/Relying_party" rel="nofollow">Relying Parties or RP</a>) using a third party service. This eliminates the need for <a href="https://en.wikipedia.org/wiki/Webmaster" rel="nofollow">webmasters</a> to provide their own ad hoc systems and allowing users to consolidate their <a href="https://en.wikipedia.org/wiki/Digital_identity" rel="nofollow">digital identities</a>. In other words, users can log into multiple unrelated websites without having to register with their information over and over again; Several large organizations either issue or accept OpenIDs on their websites according to the OpenID Foundation: <a href="https://en.wikipedia.org/wiki/AOL" rel="nofollow">AOL</a>, <a href="https://en.wikipedia.org/wiki/Blogger_(service)" rel="nofollow">Blogger</a>, <a href="https://en.wikipedia.org/wiki/Flickr" rel="nofollow">Flickr</a>, <a href="https://en.wikipedia.org/wiki/France_Telecom" rel="nofollow">France Telecom</a>, <a href="https://en.wikipedia.org/wiki/Google" rel="nofollow">Google</a>, <a href="https://en.wikipedia.org/wiki/Hyves" rel="nofollow">Hyves</a>, <a href="https://en.wikipedia.org/wiki/LiveJournal" rel="nofollow">LiveJournal</a>, <a href="https://en.wikipedia.org/wiki/Microsoft" rel="nofollow">Microsoft</a> (provider name <a href="https://en.wikipedia.org/wiki/Microsoft_account" rel="nofollow">Microsoft account</a>), <a href="https://en.wikipedia.org/wiki/Mixi" rel="nofollow">Mixi</a>, <a href="https://en.wikipedia.org/wiki/Myspace" rel="nofollow">Myspace</a>, <a href="https://en.wikipedia.org/wiki/Novell" rel="nofollow">Novell</a>, <a href="https://en.wikipedia.org/wiki/Orange_(telecommunications)" rel="nofollow">Orange</a>, <a href="https://en.wikipedia.org/wiki/Sears" rel="nofollow">Sears</a>, <a href="https://en.wikipedia.org/wiki/Sun_Microsystems" rel="nofollow">Sun</a>, <a href="https://en.wikipedia.org/wiki/Telecom_Italia" rel="nofollow">Telecom Italia</a>, <a href="https://en.wikipedia.org/wiki/Universal_Music_Group" rel="nofollow">Universal Music Group</a>, <a href="https://en.wikipedia.org/wiki/VeriSign" rel="nofollow">VeriSign</a>, <a href="https://en.wikipedia.org/wiki/WordPress" rel="nofollow">WordPress</a>, and <a href="https://en.wikipedia.org/wiki/Yahoo!" rel="nofollow">Yahoo!</a>. Other providers are <a href="https://en.wikipedia.org/wiki/BBC" rel="nofollow">BBC</a>, <a href="https://en.wikipedia.org/wiki/IBM" rel="nofollow">IBM</a>, <a href="https://en.wikipedia.org/wiki/PayPal" rel="nofollow">PayPal</a>, <a href="https://en.wikipedia.org/wiki/Steam_(software)" rel="nofollow">Steam</a>, along with <a href="https://en.wikipedia.org/wiki/GitHub" rel="nofollow">GitHub</a>, <a href="https://en.wikipedia.org/wiki/Identi.ca" rel="nofollow">Identi.ca</a>, <a href="https://en.wikipedia.org/wiki/Last.fm" rel="nofollow">Last.fm</a>, <a href="https://en.wikipedia.org/wiki/Linkedin" rel="nofollow">Linkedin</a>, and <a href="https://en.wikipedia.org/wiki/Twitter" rel="nofollow">Twitter</a>. However, some of those organizations also develop their own authentication management such as Novell Modular Authentication Service (NMAS), and Facebook stopped using OpenID and instead uses <a href="https://en.wikipedia.org/wiki/Facebook_Platform#Facebook_Connect" rel="nofollow">Facebook Connect</a>. </p> <h1></h1> <p><a href="https://i.imgur.com/ehwox2V.png" rel="nofollow"><strong>Image</strong></a> <a href="https://en.wikipedia.org/wiki/File:OpenID_logo.svg" rel="nofollow"><sup>i</sup></a> - <em>The OpenID logo</em></p> </blockquote> <hr/> <p><sup>Interesting:</sup> <a href="https://en.wikipedia.org/wiki/OpenID_Connect" rel="nofollow"><sup>OpenID</sup> <sup>Connect</sup></a> <sup>|</sup> <a href="https://en.wikipedia.org/wiki/Single_sign-on" rel="nofollow"><sup>Single</sup> <sup>sign-on</sup></a> <sup>|</sup> <a href="https://en.wikipedia.org/wiki/Ubuntu_Forums" rel="nofollow"><sup>Ubuntu</sup> <sup>Forums</sup></a> <sup>|</sup> <a href="https://en.wikipedia.org/wiki/WebFinger" rel="nofollow"><sup>WebFinger</sup></a> </p> <p><sup>Parent</sup> <sup>commenter</sup> <sup>can</sup> <a href="/message/compose?to=autowikibot&amp;subject=AutoWikibot%20NSFW%20toggle&amp;message=%2Btoggle-nsfw+crllyqj" rel="nofollow"><sup>toggle</sup> <sup>NSFW</sup></a> <sup>or<a href="#or" rel="nofollow"></a></sup> <a href="/message/compose?to=autowikibot&amp;subject=AutoWikibot%20Deletion&amp;message=%2Bdelete+crllyqj" rel="nofollow"><sup>delete</sup></a><sup>.</sup> <sup>Will</sup> <sup>also</sup> <sup>delete</sup> <sup>on</sup> <sup>comment</sup> <sup>score</sup> <sup>of</sup> <sup>-1</sup> <sup>or</sup> <sup>less.</sup> <sup>|</sup> <a href="http://www.np.reddit.com/r/autowikibot/wiki/index" rel="nofollow"><sup>FAQs</sup></a> <sup>|</sup> <a href="http://www.np.reddit.com/r/autowikibot/comments/1x013o/for_moderators_switches_commands_and_css/" rel="nofollow"><sup>Mods</sup></a> <sup>|</sup> <a href="http://www.np.reddit.com/r/autowikibot/comments/1ux484/ask_wikibot/" rel="nofollow"><sup>Magic</sup> <sup>Words</sup></a></p></pre>equoia: <pre><p>Did a quick implementation of the OpenID system from Steam a few weeks ago. I can post the source if you wish to have a look ? Will have to clean the source code from various proprietary information, but should be able to get a copy up either later today or tomorrow.</p></pre>Gacnt: <pre><p>Awesome thank you </p></pre>equoia: <pre><p><a href="https://github.com/equoia/steamopenid" rel="nofollow">https://github.com/equoia/steamopenid</a></p> <p>Added some instructions in the repo. Let me know if you have any questions or issues.</p> <p>Note: The code you see in the repo was created with the intention of it being a prototype, so while you should not expect any fancy idiomatic Go code, it should work.</p></pre>Gacnt: <pre><p>Thanks so much. I was looking at the openid-go package and it said to use something different than nonce and discoveryCache as it lives in memory forever and won&#39;t be destroyed. Any idea about that?</p></pre>equoia: <pre><p>No clue to be honest. I&#39;m not too well versed in OpenID to know if it actually needs these two caches. As you can see in my repo, I store the returned results in an cookie(can be encrypted if necessary) client-side, so presumably one could ignore or built it without these two caches. I might be entirely wrong though, and have misinterpreted the purpose of the two caches.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

859 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传