jaxondu / gRPC-Python-JWT-Auth-Example

Example of Authentication Using gRPC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of using application defined Access Token and Session Token (JWT) retrieved from an authentication service to access auth-restricted gRPC endpoint.

Demo:

  1. docker-compose up
  2. use AuthenticationClient to create/login user and retrieve token
  3. use ACCESS_TOKEN and token in step 2. to access kensho_service using KenshoClient

About

Example of Authentication Using gRPC


Languages

Language:Python 94.3%Language:Dockerfile 2.9%Language:Shell 2.9%