Carlos Saraiva
How to integrate RabbitMQ on a Microservice architecture
Hi guys, I have an app with a .NET back end made in multiple services, and those services are communicating with http requests, but some of them I'm waiting for a response when I do not need, I could just send to a messenger service like RabbitMQ, but there are some cases where I want to wait for a response to get data, from the videos that I watched about RabbitMQ, there wasn't one that showed how to wait for the other api's response, can someone send me some content or explain how can I implement a communication between multiple apis where I can wait for a response to get the data from it or just send a request to a queue without the need to stop the api's work?
3 replies
Security regarding JWT .NET 8
Hi everyone, I'm working on authentication and I want to make a "remember me" feature making the JWT valid for 30 days. But if this token is shared I'll have two people using the same account right? How can I make it more safe? refresh token? or should I save the users token and IP in the database and any other IP using that token is not valid?
I'm just wondering what is the safer approach when it comes to authentication and authorization, if anyone knows any playlist to watch or blogs to read regarding this subject so I can learn more about it and make my work better, I would like it very much, thanks!
37 replies