Also assumes tokens passed in --tokens are client tokens, so if instantiated in offline mode with the current way of --tokens <token1>, another node connected to it, will get a validation result saying this token is a client token. If one wants to add frontend tokens, use --frontend-tokens.
Discussion points
Not a 100% sure we really want to add this, but it feels like a better solution than what we currently have where offline nodes just refuses any edge clients. (It still works with an offline node from a normal SDK, but Edge is not a normal SDK)
Also assumes tokens passed in
--tokens
are client tokens, so if instantiated in offline mode with the current way of--tokens <token1>
, another node connected to it, will get a validation result saying this token is a client token. If one wants to add frontend tokens, use--frontend-tokens
.Discussion points
Not a 100% sure we really want to add this, but it feels like a better solution than what we currently have where offline nodes just refuses any edge clients. (It still works with an offline node from a normal SDK, but Edge is not a normal SDK)
fixes: #463