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
When forwarding RPCs from servers in one datacenter to servers in a different datacenter we should do something reasonable if we know in advance the ACL token attached to the RPC is a local token (and thus would not be resolvable in the remote datacenter).
The easy first fix would be to do this munging on the local server. If the token is detected as a local token simply strip it and forward the RPC along as-is. On the destination side this will activate the anonymous token.
A related fix would be to do a similar process when doing local forwarding from clients to servers. If the local client detects that a local ACL token is being passed, and the destination is not the current datacenter it should substitute the agent default token if present. This is conceptually similar to what would happen if you had an API call come in with no token to a client.
This couples nicely with the server-to-server fix above in the event that the agent default token itself was a local token.
The text was updated successfully, but these errors were encountered:
When forwarding RPCs from servers in one datacenter to servers in a different datacenter we should do something reasonable if we know in advance the ACL token attached to the RPC is a local token (and thus would not be resolvable in the remote datacenter).
The easy first fix would be to do this munging on the local server. If the token is detected as a local token simply strip it and forward the RPC along as-is. On the destination side this will activate the anonymous token.
A related fix would be to do a similar process when doing local forwarding from clients to servers. If the local client detects that a local ACL token is being passed, and the destination is not the current datacenter it should substitute the agent default token if present. This is conceptually similar to what would happen if you had an API call come in with no token to a client.
This couples nicely with the server-to-server fix above in the event that the agent default token itself was a local token.
The text was updated successfully, but these errors were encountered: