NuSkooler / enigma-bbs

ENiGMA½ BBS Software
https://nuskooler.github.io/enigma-bbs/
BSD 2-Clause "Simplified" License
529 stars 104 forks source link

OAuth2 Login #536

Open Mrs-Feathers opened 2 months ago

Mrs-Feathers commented 2 months ago

It'd be really cool for a community that uses this and their own website to login with oauth: display a clickable link to login to oauth and then go back to terminal to finish logging in. it'd allow for mods for user settings which could edit account info from the bbs or likewise, edit bbs settings from your account in such oauth servers like authentik or something. i am personally very interested in wriing mods and menus for this amazing bbs system to be able to have functionality that would peque the interest of my discord server communtiy's tech enthusiasts

NuSkooler commented 2 months ago

Currently there is technically (if you write a mod) a way to use the build in enigma web server to authenticate if you would like web ability to perform various tasks.

If you want OAuth2 for an external Ident provider (think SSO et al.), that could be quite interesting. What it would take is just a oauth2.js type mod written as one of the login server types.

I'm afraid I won't have much time for this currently. I've been neglecting finishing up the ActivityPub support and some other needed fixes and features. I'm happy to help with pointers, PRs, etc. though!