grpc-ecosystem/grpc-gateway

Document OAuth and JWT examples

开放

#1,313 创建于 2020年5月9日

 (5 条评论) (5 个反应) (0 位负责人)Go (2,250 个派生)batch import
documentationgood first issuehelp wanted

仓库指标

星标
 (16,971 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Hi, Is there a good documentation that describes how to add oAuth & Scopes support? I went over the examples (a_bit_of_everything included) but I couldn't figure how its integrated to gRPC and Metadata Hash. Perhaps the Gateway take care of those things and this is why there are no documentation?

Here is what I've found so far:

  • How proto file should be written to support oAuth - ref
  • How to check access token - ref

The question is how I combine the two, if needed at all. Please advise, Thanks!

贡献者指南