Hello I'm integrating Wazuh with forge app, but I just want to know if forge support basic auth, if so how do it? is there any steps and additional information I can get?
this is my function on authenticating the wazuh, however I keep getting Forbidden error 403 status code:
Error: There was an error invoking the function - Failed to get token: 403
Hey @Arnel Lamanilao ,
Forge apps do not natively support Basic Auth for authenticating with external APIs. Like, Forge is designed with security in mind and encourages the use of more secure authentication methods, such as OAuth 2.0, when integrating with external services.
Maybe you could bypass this, but it's definitelly not recommended to use Basic Auth.
I guess you can check if Wazuh supports OAuth 2.0 or another secure auth method, and then configure Forge to use that. 👀
This can maybe help as well: Create OAuth 2.0 credential for service accounts
But yeah, as Jeroen said, when it comes to Forge, it's maybe recommended to check in with Dev community as they are mainly working with Forge.
Cheers,
Tobi
Welcome @Arnel Lamanilao
Have you seen this article https://developer.atlassian.com/platform/forge/runtime-reference/external-fetch-api/ ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there and Welcome!
You might have more success in the Atlassian developer community:
https://community.developer.atlassian.com/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.