mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
4a81f0932f
Fixes ##5799 and #5785 When you do not provide a token we should resolve to the "default" environment to maintain backward compatibility. If you actually provide a token we should prefer that and even block the request if it is not valid. An interesting fact is that "default" environment is not available on a fresh installation of Unleash. This means that you need to provide a token to actually get access to toggle configurations. --------- Co-authored-by: Thomas Heartman <thomas@getunleash.io> |
||
---|---|---|
.. | ||
api-token-middleware.test.ts | ||
api-token-middleware.ts | ||
authorization-middleware.ts | ||
catch-all-error-handler.ts | ||
conditional-middleware.ts | ||
content_type_checker.test.ts | ||
content_type_checker.ts | ||
cors-origin-middleware.test.ts | ||
cors-origin-middleware.ts | ||
demo-authentication.ts | ||
index.ts | ||
no-authentication.test.ts | ||
no-authentication.ts | ||
oss-authentication.test.ts | ||
oss-authentication.ts | ||
pat-middleware.test.ts | ||
pat-middleware.ts | ||
rbac-middleware.test.ts | ||
rbac-middleware.ts | ||
request-logger.ts | ||
response-time-metrics.ts | ||
secure-headers.ts | ||
session-db.ts | ||
unless-middleware.ts |