grpc-ecosystem/grpc-gateway

Document OAuth and JWT examples

Open

#1,313 建立於 2020年5月9日

在 GitHub 查看
 (5 留言) (5 反應) (0 負責人)Go (2,250 fork)batch import
documentationgood first issuehelp wanted

倉庫指標

Star
 (16,971 star)
PR 合併指標
 (平均合併 1天 4小時) (30 天內合併 141 個 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!

貢獻者指南