fedora-infra / noggin

Self-service user portal for open-source communities to use over FreeIPA.
MIT License
109 stars 59 forks source link

RFE: mastodon account verification #1147

Open nirik opened 1 year ago

nirik commented 1 year ago

It would be nice if noggin could verify fas accounts for mastodon

See: https://docs.joinmastodon.org/user/profile/#verification

It should likely work like:

This way users could validate that a specific mastodon account was linked to a specific userid in noggin.

abompard commented 1 year ago

Note that it can also be a regular link in the form <a href="https://social.example.com/@username" rel="me">Mastodon account</a>

That said, the profile pages are not currently public, so the Mastodon server's crawler will not be able to check the link.

nirik commented 1 year ago

Hum... it just occurred to me that all those pages require authentication. ;( So this might not work at all?

abompard commented 1 year ago

Yeah. I see two ways out:

nirik commented 1 year ago

A public page would be very nice IMHO. We could also put ssh public keys there so people could more easily share them...

Another possible way to do that might be to have a fasjson-public endpoint that has that data?

abompard commented 1 year ago

I suppose people already have a public page in the wiki, no? Should we use that instead? And maybe have a macro that inserts the rel="me" attribute in the link?

nirik commented 1 year ago

We could, but I sure hate depending on the wiki for more things. ;(