this post was submitted on 02 Apr 2025
9 points (84.6% liked)

Ask Lemmy

30612 readers
1048 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

Hi everyone!

Is there a simple way to use the Lemmy authentication on a web page?

Like if [email protected] 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.

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 1 day ago

Locking for rule 5.

Related: OAuth for third party websites is being discussed here https://github.com/LemmyNet/lemmy/issues/1368

[–] [email protected] 6 points 1 day ago

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 [email protected] 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.

[–] [email protected] 6 points 1 day ago

In general these things are achieved with the OAuth standard. But as far as I know it's not supported by Lemmy.