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 gateway service panics when the reva token is not valid. This is because all grpc endpoints on gateway are unprotected.
Two steps to fix it properly:
Avoid calling ContextMustGetUser in gateway and call ContextGetUser instead. Return an error if the user is not available.
Adjust UnprotectedEndpoints method of gateway service to return only specific endpoints, not all of them (not in scope of this ticket)
The text was updated successfully, but these errors were encountered:
The gateway service panics when the reva token is not valid. This is because all grpc endpoints on gateway are unprotected.
Two steps to fix it properly:
ContextMustGetUser
in gateway and callContextGetUser
instead. Return an error if the user is not available.UnprotectedEndpoints
method of gateway service to return only specific endpoints, not all of them (not in scope of this ticket)The text was updated successfully, but these errors were encountered: