AAP-58794: Enable Lightspeed Service's chatbot API Key authentication.#1793
AAP-58794: Enable Lightspeed Service's chatbot API Key authentication.#1793romartin wants to merge 1 commit intoansible:mainfrom
Conversation
|
@ldjebran IIRC doesn't the MCP Header support we added handle passing the authentication token? |
|
The MCP authentication header (AAP JWT) is being "just forwarded" to AAP, but not really being handled by lightspeed-stack / llama-stack, neither for auth or autz. This PR work is for enabling some basic api-key authentication mechanism for "our" Ansible lightspeed-stack / llama-stack itself. MCP and authorization here are not in scope as well. We already considered using the JWT token given after AAP authentication, as wisdom service does by relying on DAB. But we can't use DAB in lightspeed-stack, and it is Anyway, please see more detail on these, and another concerns about using tje AAP JWT token for auth (such as upstream/cloud version), in comments in AAP-50670. So finally, as a team, decided to implement a basic api-key ( |
daa09e0 to
94bdf92
Compare
Signed-off-by: romartin <roger600@gmail.com>
94bdf92 to
557ec3e
Compare
|
@romartin I think you you will need to reopen your PR by pushing to this project branch and not to your private fork repo so that the CI can succeed. |
|
Re-opened in #1794 |
Jira Issue: https://issues.redhat.com/browse/AAP-58794
Description
Enable Lightspeed Service's chatbot API Key authentication.
Authentication DEPENDS on a new release of lighspeed-stack, which will include lightspeed-core/lightspeed-stack#855
Testing
Tested locally.
Steps to test
CHATBOT_API_KEYType of Change
Backport Policy
This change should be:
Production deployment
REQUIRES
CHATBOT_API_KEYset as ENV