Technical operations Engineer ·
Needs advice
on
Node.jsNode.jsRabbitMQRabbitMQ
and
RedisRedis

I am developing a microservice architecture that necessitates service-to-service communication. Validating authorization using a token that is passed from the auth service to the other services is one of these needs. I'm thinking about using the RPC communication strategy with Redis or RabbitMQ. Any suggestions?

READ LESS
6 upvotes·9.8K views
Replies (1)
CTO/founder at Meet Kinksters·

I think you may be mixing concerns a bit. Also, the authentication mechanisms for various tools may not necessarily play well with another, and/or you may need different intra-service auth vs. public-facing/customer sessions/tokens. If you need to have disparate tools authenticate to one another with a bearer-type token mechanism, consider Vault. It has excellent support for at least one of the tools you mention (RabbitMQ.)

For flexible token auth, JWTs.

READ MORE
6 upvotes·7.3K views
Avatar of Mary Olowu

Mary Olowu

Technical operations Engineer