douweng7308 2015-09-06 06:28
浏览 14
已采纳

如何在产品环境中保护我的GO REST服务?

I'm recently dealing with Go REST services, but I don't know if there any production-ready OAUTH2 server available?

As my services will be consumed by a single-paged web app as well as mobile clients, and users should be able to register their accounts, so I'm thinking about an OAUTH2 server.

I've been searching around and found that the standard package contains only the client side code https://github.com/golang/oauth2/blob/master/oauth2.go.

There is an OAUTH2 server built in Go (https://github.com/RangelReale/osin), but I don't have much expertise to review it.

Therefore, what are the options available for production applications? Should I use an OAUTH server implemented in another technology like nodejs because of their maturity?

EDIT: In .Net space there is a server implementation at https://github.com/identityserver/IdentityServer3

However, I would prefer something in GO.

  • 写回答

3条回答 默认 最新

  • douyun7718 2015-09-12 04:54
    关注

    Right after I asked the question, CoreOS released "dex" as an open source OpenID provider at https://github.com/coreos/dex

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 请提供一个符合要求的网页链接。
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码