It would help if there was a node for:
My use case:
I’d like to build an API server application with N8N and secure the endpoints with OAuth2/OpenID Connect.
Any resources to support this?
Here’s a documentation for basic Node.js how to implement this with Keycloak: Securing Applications and Services Guide
Another thing is, that N8N is missing the allow-headers header in CORS requests, so it isn’t possible to call a webhook with an Authorization: Bearer XXXX header, which is the standard for OAuth. Since this is an preflight CORS request and the Webhook node does not support OPTIONS requests it is not simply possible to set that header in the preflight request answer.
Are you willing to work on this?
I need that so after a brief introduction why not.
Note
I’m not shure if implementing this into the Webhook node is the best idea. If you’d use the Keycloak adapter, then specific Keycloak nodes would maybe be better.