HN2new | past | comments | ask | show | jobs | submitlogin

How do either of you plan to handle authentication and authorization? How will you handle CORS? Just curious as I've worked in this realm as well.


Authentication and especially authorization can be completely handled by PostgreSQL. In front of it all sits OpenResty (nginx) so that is where you would add whatever headers you would need


jwt's are a touchy subject but was the well-trodden route I was planning to follow for authentication.

Integration with auth0 and other third-party services would be a roadmap thing for me.

Authorization can be handled by PostgreSQL: it has built-in facilities for role-based access control and row-level security. You can develop the authorization scheme that fits your application.




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

Search: