Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(front): add bearer token in racksdb request #477

Merged
merged 1 commit into from
Feb 13, 2025
Merged

fix(front): add bearer token in racksdb request #477

merged 1 commit into from
Feb 13, 2025

Conversation

rezib
Copy link
Contributor

@rezib rezib commented Feb 13, 2025

Add missing bearer token in RacksDB infrastructure diagram request, it is now required by @check_jwt decorator on the gateway endpoint with RFL >= 1.3.0 to avoid HTTP/403 response.

The token is removed from request headers for login (incl. anonymous) and login service message at the same time, as the client does not have JWT at this stage yet and the gateway does not enforce the presence of the bearer token for the corresponding endpoints.

fix #471

@rezib rezib added this to the v4.2.0 milestone Feb 13, 2025
@rezib rezib self-assigned this Feb 13, 2025
Add missing bearer token in RacksDB infrastructure diagram request, it
is now required by @check_jwt decorator on the gateway endpoint with
RFL >= 1.3.0 to avoid HTTP/403 response.

The token is removed from request headers for login (incl. anonymous)
and login service message at the same time, as the client does not have
JWT at this stage yet and the gateway does not enforce the presence of
the bearer token for the corresponding endpoints.

fix #471
@rezib rezib merged commit a3a7b2f into main Feb 13, 2025
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2025
@rezib rezib deleted the pr/fix-471 branch February 13, 2025 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RacksDB Bearer token error
1 participant