Hi everyone!
Is there a simple way to use the Lemmy authentication on a web page?
Like if abc@xyz.com clicks on a link taking them to my personally hosted webpage while they are logged in, the back end can figure out it’s him doing it?
Why? I’m toying with putting one of my stupid multiplayer games online for fun so definitely nothing too serious. I’m also curious about how activitypub deals with stuff like that.
Locking for rule 5.
Related: OAuth for third party websites is being discussed here https://github.com/LemmyNet/lemmy/issues/1368
There’s a few services (Fediseer and the Lemmy Canvas event) that auth via Lemmy. It’s awkward, but it works.
Basically you enter your
username@instnace.xyz
there, and it sends a DM to your account with a code (similar to an MFA token). You then complete the login on the app with that code.In general these things are achieved with the OAuth standard. But as far as I know it’s not supported by Lemmy.