Skip to content

Commit

Permalink
[FFM-11123] - Fix JWT fields missing in cache on authentication (#14)
Browse files Browse the repository at this point in the history
* [FFM-11123] - Fix issues with authentication

What
When proxy is not used authentication will fail because not all auth fields are cached

Why
We're getting reports of 401 codes in the field

Testing
Manual
  • Loading branch information
andybharness authored Apr 8, 2024
1 parent ba5c40e commit 699983b
Show file tree
Hide file tree
Showing 4 changed files with 244 additions and 508 deletions.
2 changes: 1 addition & 1 deletion .online.example.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ADMIN_SERVICE_TOKEN=
CLIENT_SERVICE=https://config.ff.harness.io/api/1.0
AUTH_SECRET=
SDK_BASE_URL=https://config.ff.harness.io/api/1.0
SDK_EVENTS_URL=https://event.ff.harness.io/api/1.0
SDK_EVENTS_URL=https://events.ff.harness.io/api/1.0
REDIS_ADDRESS=redis:6379
REDIS_PASSWORD=
REDIS_DB=0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ADMIN_SERVICE_TOKEN=<Add your Admin Service Token>
CLIENT_SERVICE=https://config.ff.harness.io/api/1.0
AUTH_SECRET=<Auth Secret string to sign JWT>
SDK_BASE_URL=https://config.ff.harness.io/api/1.0
SDK_EVENTS_URL=https://event.ff.harness.io/api/1.0
SDK_EVENTS_URL=https://events.ff.harness.io/api/1.0
REDIS_ADDRESS=redis:6379
REDIS_PASSWORD=
REDIS_DB=0
Expand Down
Loading

0 comments on commit 699983b

Please sign in to comment.