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

[SSE Sidecar] Authentication with Bearer Token #70

Closed
RitaMAllenCA opened this issue Jan 4, 2023 · 0 comments
Closed

[SSE Sidecar] Authentication with Bearer Token #70

RitaMAllenCA opened this issue Jan 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@RitaMAllenCA
Copy link

RitaMAllenCA commented Jan 4, 2023

this requirement can be found in the following document:
https://docs.google.com/document/d/1vBRbBmij9HHotY_8HIaUKk5a9Kq9Rqgxlk-UAE_F7xs/edit#heading=h.95i1qjit3j6q

The RESTful endpoint should support basic authentication using an API bearer token.

curl --header "Authorization: Bearer : SIDECAR_API_KEY" http://127.0.0.1:18888/block

The API should return an Unauthorized error code if token is invalid.

HTTP/1.1 401 Unauthorized
Content-Type: application/json

{
  "error": {
    "message": "Unauthorized",
    "code": 401
  }
}

@RitaMAllenCA RitaMAllenCA assigned zajko and unassigned George-cl Feb 16, 2023
@hectoratcasper hectoratcasper changed the title [SSE Sidecar] Authentication and authorization enhancements [SSE Sidecar] Authentication with Bearer Token Nov 14, 2023
@hectoratcasper hectoratcasper added the enhancement New feature or request label Nov 14, 2023
@zajko zajko closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants