HeyPuter / puter

🌐 The Web OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
20.83k stars 1.29k forks source link

OAuth #275

Open Developer310301 opened 2 months ago

Developer310301 commented 2 months ago

Could you add OAuth authentication in self-hosted option? it will be a great authentication option for small businesses

KernelDeimos commented 2 months ago

This is a capability we definitely want to add, since OAuth fits nicely with our app infrastructure. The SDK, puter.js, can already be used outside of Puter apps and invokes a login window. I think we just need to add the standard OAuth endpoints to do the same thing via HTTP instead of postMessage, if I'm not missing anything.

yaronhb commented 5 days ago

I recommand using keycloak for managing users. It's completely open source and free.

The local user database is implemented out of the box, and additional capabilities such as SSO, OTP etc. are easily added with some configuration. No code changes are necessary.