louketo / louketo-proxy

A OpenID / Proxy service
Apache License 2.0
950 stars 343 forks source link

Keycloak Gatekeeper to support access_token in query param (required for WebSocket) #651

Open vishalgoel1988 opened 4 years ago

vishalgoel1988 commented 4 years ago

Title

Summary

WebSocket in JavaScript does not support Headers. This causes the authentication to be not possible via Keycloak Gatekeeper. I am proposing a solution where token can be passed as "access_token" query param which keycloak gatekeeper can read and do the authentication. Same thing is supported in Keycloak Java adapter.

Why?

How

Acceptance criteria

Additional Information

vishalgoel1988 commented 4 years ago

Hi Any help here please? How does GK support WS authentication?

vishalgoel1988 commented 4 years ago

Any help here please? This is quite important to us.