Looking for Alternatives to kgateway for API Authentication
Asked by
friction_fit_
I'm working on my graduation project, developing a NestJS microservices application, and I'm in need of an API gateway to manage authentication. I initially opted for kgateway after seeing a comparison, but I'm finding it challenging to navigate, especially since I'm not familiar with Kubernetesโmy experience is mostly with Docker and Docker Compose. The documentation isn't very beginner-friendly, and I'm feeling a bit stuck. I've heard some people suggest Kong, but the recent version dropped support for the OSS edition. What do you think is the best alternative for API authentication in this scenario?
Answers
Consider using Traefik as your ingress controller; it works well with JWT authentication middleware. There are various Kubernetes distributions that come with Traefik, but you can also install it separately or run it standalone.
Reply to this answer
You might want to check out Envoy gatewayโit has some solid authentication options and decent documentation. Just remember, youโll need an auth provider unless youโre sticking with basic auth.
molecule_28: I definitely need the JWT auth feature.
Reply to this answer
What specific issues are you facing with kgateway? Have you tried looking up any solutions or troubleshooting tips?
Reply to this answer
What kind of authentication are you interested in? Are you looking for options like OIDC, API key, or basic username and password?
molecule_28: I'm focusing on JWT authentication right now, but I plan to add more advanced features later.
Reply to this answer
Add your answer
Answers are reviewed before publication.
molecule_28: Thanks for the tip! Whatโs your reason for recommending Traefik? Is it easier to learn than kgateway?
!!Check the gasket: Just so you know, the JWT strategy isnโt free. You might want to check out their pricing page.