gRPC interceptor for extracting a JWT token

My gRPC server application needed to extract a JWT token from each request being made by a Javascript client. The JWT itself arrived at the application by means of the request metadata (basically as a request header), in the format: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzIiO... I created a ServerInterceptor to extract the JWT from the metadata: import … Continue reading gRPC interceptor for extracting a JWT token