Golang and OpenID

polaris · · 1230 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello!</p> <p>I&#39;ve have been playing around for the last 12 hours trying to get openid working with GoLang. It seems like most available libraries are out of date. What libraries do you use? Would you be able to provide me with an example on how to use it?</p> <p>Thanks! </p> <hr/>**评论:**<br/><br/>klaaax: <pre><blockquote> <p>It seems like most available libraries are out of date. </p> </blockquote> <p>what did you use? cause openid has not evolved at all for ages.</p></pre>Haun1400: <pre><p>appengine <a href="https://github.com/akavel/openid-go" rel="nofollow">https://github.com/akavel/openid-go</a> <a href="https://gowalker.org/github.com/akavel/go-openid" rel="nofollow">https://gowalker.org/github.com/akavel/go-openid</a></p> <p>I tried one more but I can&#39;t find it now :/ </p></pre>bontibon: <pre><p>I have used <a href="https://github.com/yohcop/openid-go" rel="nofollow">https://github.com/yohcop/openid-go</a> with success.</p></pre>Haun1400: <pre><p>Ok, So I started to look at this library but got a little confused with some of the notes in the examples. Specifically I got confused on the Discoverycache and nonce_store. In his example he says &#34;Use your own implementation, on a better database system.&#34; </p> <p>I guess I don&#39;t have enough knowledge about how OpenID works, as I&#39;m not really sure what I am supposed to be storing. I tried to look through those types, but that was when I was low on sleep. I just woke up so I&#39;m going to look more into it.</p></pre>dhdfdh: <pre><p>I didn&#39;t know anyone took OpenID up as a new method anymore.</p></pre>Haun1400: <pre><p>I&#39;m attempting to authenticate with steam, and they use OpenID</p></pre>

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

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