grpc-ecosystem/grpc-gateway

Document OAuth and JWT examples

Open

#1313 aperta il 9 mag 2020

Vedi su GitHub
 (5 commenti) (5 reazioni) (0 assegnatari)Go (2250 fork)batch import
documentationgood first issuehelp wanted

Metriche repository

Star
 (16.971 star)
Metriche merge PR
 (Merge medio 1g 4h) (141 PR mergiate in 30 g)

Descrizione

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!

Guida contributor