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 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置