Hey,
First, Bubble is NOT HIPPA Compliant so it’s not the right platform for the Heathcare industry. For such a potential customer, you might want to consider (Supabase OR Xano as a backend + WeWeb as a front end). Whatever your choice is, please make sure of the right plan that meet HIPAA requirements, otherwise you can go for Supabase since it’s open source and self-host it.
Second, I didn’t try myself Auth via NextAuth.js but I think it could be possible. I can’t give you a solid answer.
Finally, When it comes to security, the “Privacy Rules” settings are very important and should be configured correctly to avoid any potential data leaks. You can check out “Flusk” tool (recently acquired by Bubble) that checks for any vulnerabilities in your app.
Well I believe you might want to check out these 2 links from Bubble documentation about Bubble security & compliance. It is mentioned here By Bubble that they do not recommend using the platform for apps that require HIPAA compliance.
To be HIPPA compliant you can only use Bubble for any aspect (front end or back end or both) if you tokenize patient info. It’s doable but not simple and depending on hse case might not be practical