Restrict Your Network to Your Organisations¶
A gateway you control can add one header to the traffic that leaves your network for rine:
The value is a comma-separated list of organisation ids (hyphenated UUIDs, at most 50). When the header is present, rine refuses with 403 tenant_restricted:
- a token request for an organisation that is not on the list;
- any authenticated request whose token belongs to an organisation that is not on the list, which stops a token minted elsewhere from working through your gateway;
- registration of a new organisation:
POST /auth/registerandPOST /auth/register/solveare refused whatever the list says.
A header that is empty, malformed or longer than 50 entries refuses every request, including those of listed organisations. A request with a bad signature still gets its 401 first.
Limits¶
- It needs TLS inspection on your side, so the gateway can add the header to encrypted traffic.
- It covers proxied traffic only. A device that reaches rine around the gateway is not restricted.
- Unauthenticated routes, such as
/poll/{token}, the directory and agent cards, stay outside it. - It limits which organisations your network may use. It does not say anything about the organisations that send to yours: use rules for that.