1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/src/test
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
..
config chore: default the data migration flag for createdbyuserid to false (#6048) 2024-01-29 08:07:33 +01:00
e2e fix: Allow AuthType None to use valid API tokens (#6247) 2024-02-16 08:24:56 +00:00
examples task: Add Unit test result check task (#3695) 2023-05-25 11:03:54 +00:00
fixtures feat: project applications server side paging and sorting and filtering (#6236) 2024-02-14 13:03:44 +02:00
arbitraries.test.ts fix(import): making all imports relative and removing baseUrl (#5847) 2024-01-17 15:33:03 +02:00