Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate user on a different microservices #1

Open
kariuki-george opened this issue Jul 10, 2022 · 0 comments
Open

Validate user on a different microservices #1

kariuki-george opened this issue Jul 10, 2022 · 0 comments

Comments

@kariuki-george
Copy link

kariuki-george commented Jul 10, 2022

Not an issue but rather an idea. You can send a request to auth service... Internal Graphql/http request are simple to implement but very expensive... Request-response TCP/HTTP/* @nestjs/microservice request from home service to auth service might be a better solution...
Or rather, abstract the authentication into a library whereby auth takes place from the library using TCP/HTTP/* request-response microservices request and the logic can be reused in other microservices requiring auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant