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
In my environment the tokens are short lived for security and are automatically regenerated at /path/to/token. Currently the token expires in 30 minutes and I need restart the grpcui web server every 30 minutes to continue to use it, otherwise requests fail authentication. It would be useful if grpcui could optionally allow some headers to be recomputed on each request, so that the same instance of the server can be used for a while.
The text was updated successfully, but these errors were encountered:
asinghvi-aurora
changed the title
Allow re-compute headers on each grpc call
[Feature request] Allow re-compute headers on each grpc call
Mar 18, 2024
Yes that's true, so I guess what I'm asking for here is to be able to run a command before each request where-in I can update a environment variable which I can use with --expand-headers to populate the token. Maybe there is a better way?
When running grpc requests using bearer authentication I need to provide the bearer token in the header in this manner:
In my environment the tokens are short lived for security and are automatically regenerated at
/path/to/token
. Currently the token expires in 30 minutes and I need restart the grpcui web server every 30 minutes to continue to use it, otherwise requests fail authentication. It would be useful if grpcui could optionally allow some headers to be recomputed on each request, so that the same instance of the server can be used for a while.The text was updated successfully, but these errors were encountered: