You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ebiggs
changed the title
unexpected result from authorization example (when token doesn't match)
unexpected result from authentication example (when token doesn't match)
Sep 6, 2021
Turns out that this isn't an issue in other grpc clients, just grpcurl and grpcui. Haven't tested other Go-lang gRPC clients more broadly. I've abandoned grpcurl now in favor of a home grown cli client written with gRPC-js. This issue may remain as a marker to support grpcurl/grpcui, or it can be closed if that's not a goal.
ebiggs
changed the title
unexpected result from authentication example (when token doesn't match)
authentication example incompatible with grpcurl and grpcui (when token doesn't match)
Oct 8, 2021
Bug Report
Version
fresh clone of master, running authentication example's server
Platform
Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
Description
When executing
I get a happy result:
However when I execute this, changing just the token
I get this unexpected result:
My expectations are to get an "unauthencated" status code and the message: "No valid auth token" per line 66 of tonic/examples/src/authentication/server.rs.
The text was updated successfully, but these errors were encountered: