grpc-ecosystem/grpc-gateway

Document OAuth and JWT examples

Open

#1.313 geöffnet am 9. Mai 2020

Auf GitHub ansehen
 (5 Kommentare) (5 Reaktionen) (0 zugewiesene Personen)Go (2.250 Forks)batch import
documentationgood first issuehelp wanted

Repository-Metriken

Stars
 (16.971 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 4h) (141 gemergte PRs in 30 T)

Beschreibung

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!

Contributor Guide