vymalo/keycloak-webhook

Use API key instead of user / password

Opened this issue · 1 comments

Hi @stephane-segning

First of all I wish you an happy news 24 years, and thanks for the work done here 🍾.

It should be great to allow using an (header) api key for http webhook, instead of "legacy" user/password.

Like X-Api-Key: mysecretkey. with 2 new env var :
WEBHOOK_HTTP_AUTH_API_KEY_HEADER and WEBHOOK_HTTP_AUTH_API_KEY_VALUE for example.

I think that's not so hard and will help some user like me ( I don't speak Java !)

Thanks a lot

Hello @rroblik, happy new year!
I hope you're doing fine. I did some digging and came up with a solution, and it will be to design an auth type. That way we could define multiple login mechanisms. How about that?