by BigJono · 4y ago · 0 comments
With a bearer token each microservice still needs to call out to an auth service to validate the token, right?
If you have an opaque token, then yes, you save nothing and still require a call to a central service.
In doing so you just validate the token against the public key. You can then rotate these keys and have a list of them to validate against and age off keys which would be the last tokens expiration +1 day.