mkopylec / charon-spring-boot-starter

Reverse proxy implementation in form of a Spring Boot starter.
Apache License 2.0
248 stars 55 forks source link

JWT Authentication #145

Open siddhsql opened 5 months ago

siddhsql commented 5 months ago

I am new to this library. I am wondering if there is an example showing how to do JWT based authentication before forwarding the request to upstream server(s)? If not, can someone provide me the steps of what to do?

mkopylec commented 3 months ago

Hi, you can use the bearer authenticator with your custom token validator. Decode the JWT inside your custom token validator.