洪 民憙 (Hong Minhee)'s avatar
洪 民憙 (Hong Minhee)

@hongminhee@hollo.social

I'm exploring a new idea called FediOTP (codename): an authentication system that uses DMs to deliver one-time passwords, allowing any account to authenticate with web services. Unlike current solutions that rely on specific APIs (, ), this would work with any ActivityPub-compatible server, increasing interoperability across the fediverse. Would love to hear your thoughts on potential challenges or use cases for this approach.

Evan Prodromou's avatar
Evan Prodromou

@evan@cosocial.ca · Reply to 洪 民憙 (Hong Minhee)'s post

@hongminhee it's not a bad idea, but I think OIDC is still better. I have some notes here:

evanp.me/2024/04/22/cross-serv

Jeff Sikes's avatar
Jeff Sikes

@box464@mastodon.social · Reply to 洪 民憙 (Hong Minhee)'s post

@hongminhee Hmm…you should take a look at Owncast. They do this already to authenticate to chat. It’s one option of several, you can also authenticate via IndieAuth. I’ll spin up a live stream and demo it if you’d like.

Sergio VDS's avatar
Sergio VDS

@sergiovds@ursal.zone · Reply to 洪 民憙 (Hong Minhee)'s post

@hongminhee
I may be wrong, but it seems that Bluesky uses something similar.

洪 民憙 (Hong Minhee)'s avatar
洪 民憙 (Hong Minhee)

@hongminhee@hollo.social · Reply to 洪 民憙 (Hong Minhee)'s post

For those skeptical of DMs in : I'm also considering an alternative verification approach using ActivityPub's Question feature. Instead of sending numeric codes, the system could send a poll with several emoji options, and the user would select the one that matches what's displayed on their login screen. This visual authentication method might offer better security against certain automated attacks while still leveraging federation rather than platform-specific APIs. Would this approach address some of the privacy concerns around DM-based verification?