Unleash / unleash-edge

MIT License
48 stars 8 forks source link

feat: added support for client and frontend tokens to offline mode. #465

Closed chriswk closed 2 weeks ago

chriswk commented 4 months ago

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

github-actions[bot] commented 4 months ago

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files