puter icon indicating copy to clipboard operation
puter copied to clipboard

OAuth

Open f-barbato opened this issue 1 year ago • 2 comments

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

f-barbato avatar Apr 13 '24 09:04 f-barbato

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.

KernelDeimos avatar Apr 13 '24 18:04 KernelDeimos

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.

yaronhb avatar Jun 27 '24 09:06 yaronhb