1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src
Ivar Conradi Østhus 4a81f0932f
fix: Allow AuthType None to use valid API tokens (#6247)
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>
2024-02-16 08:24:56 +00:00
..
lib fix: Allow AuthType None to use valid API tokens (#6247) 2024-02-16 08:24:56 +00:00
mailtemplates fix-css-update-for-CR-email-template (#6186) 2024-02-13 10:16:25 +09:00
migrations chore: add migration for traffic data collection (#6171) 2024-02-09 09:58:58 +01:00
test fix: Allow AuthType None to use valid API tokens (#6247) 2024-02-16 08:24:56 +00:00
migrator.ts chore: This helps output the migrations being applied (#6004) 2024-01-23 16:01:36 +01:00
server-dev.ts feat: sdk reporting flag and e2e test (#6216) 2024-02-13 14:13:21 +02:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00