keycloak-webhook icon indicating copy to clipboard operation
keycloak-webhook copied to clipboard

Use API key instead of user / password

Open rroblik opened this issue 1 year ago • 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

rroblik avatar Jan 05 '24 15:01 rroblik

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?

stephane-segning avatar Feb 20 '24 10:02 stephane-segning