Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great talk. This may be a silly question; however, how do you handle authentication between the main app and the services? Im in the middle of building a sizable application but have begun offloading some of the tasks to microservices, for many of the same reasons you gave. I currently use OAuth2 to authenticate to the main API, but dont really want to add additional overhead by having to authenticate to each service as its needed.


perhaps JSON Web tokens between main API and microservice where both have a shared secret?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: