mastodon icon indicating copy to clipboard operation
mastodon copied to clipboard

Verified links to github and orcid don't work

Open robertfromont opened this issue 3 years ago • 6 comments

Steps to reproduce the problem

  1. Add link to Mastodon profile on GitHub profile or orcid.org profile
  2. Add link to GitHub profile or orcid.org profile back to Mastodon profile
  3. Inspect source of Github/OrcID page to ensure they have rel="me" - they do

Expected behaviour

The external profile links should appear as verified in Mastodon

Actual behaviour

They appear as regular (non verified) links

Detailed description

I suspect that this is because both GitHub and OrcID add other stuff to the rel attribute:

  • on my GithHub profile, it's rel="nofollow me"
  • on by OrcID profile, it's rel="me nofollow noopener noreferrer"

I understand that "nofollow" means 'the link is not endorsed', but although it's not endorsed by GitHub and OrcID, it is endorsed by me, that's why I put it in my profile!

Specifications

Seems to be Mastodon v3.5.3.

robertfromont avatar Nov 07 '22 15:11 robertfromont

It only needs me to be in the rel attribute, it does not need to be the only one.

However, the link is only verified once shortly after you edit your profile, so the link needs to be there before you save your profile. This is badly explained and commonly confuses people, so we will work on improving that.

ClearlyClaire avatar Nov 07 '22 17:11 ClearlyClaire

Ok! I can see that deleting and re-adding it works. Sorry and thanks!

robertfromont avatar Nov 07 '22 17:11 robertfromont

...spoke too soon? It works for GitHub profiles, but not OrcID profiles, e.g. mine is: https://orcid.org/0000-0001-5271-5487

...which includes:

<a _ngcontent-ojk-c128="" target="_blank" 
   rel="me nofollow noopener noreferrer" 
   href="https://scholar.social/@robertfromont">Mastodon</a>

Is this because it's not included in the first http request maybe? (The OrcID profile seems to be an Angular app)

robertfromont avatar Nov 12 '22 14:11 robertfromont

Same with Gitea instances btw which also add the "nofollow". Reproducible here with Mastodon 4.x.

<a rel="me nofollow" href="https://floss.social/@IzzyOnDroid">Mastodon</a>

is in my profile at https://codeberg.org/izzy and does not verify (waited for 3 days now).

EDIT: Removing and re-adding that link to my account on floss.social verified the link successfully for me.

IzzySoft avatar Nov 20 '22 16:11 IzzySoft

Alas, removing and re-adding my ORCID still doesn't verify in v4.0.2 on scholar.social

robertfromont avatar Nov 21 '22 19:11 robertfromont

This is an issue with ORCID: https://github.com/ORCID/ORCID-Source/issues/6668

nemobis avatar Nov 25 '22 15:11 nemobis