waiting-for-dev / warden-jwt_auth

JWT token authentication with warden
MIT License
113 stars 56 forks source link

Authentication Only using Outside IDP? #31

Closed xcskier56 closed 3 years ago

xcskier56 commented 3 years ago

Hi there! We have a microservice architecture that uses our own IDP to generated JWTs, and then to authenticate, we verify them in the other services using the public key of the IDP. We're looking at refactoring/improving the authentication story for our services.

Can this library be used solely to authenticate an incoming request? I don't want to revoke the token, or return a new one. Simply want to authenticate the incoming request using the Bearer token. Is this doable?

waiting-for-dev commented 3 years ago

Probably you're better off using just ruby-jwt, which is a dependency here.

xcskier56 commented 3 years ago

Cool. Thanks!