Verified links to github and orcid don't work
Steps to reproduce the problem
- Add link to Mastodon profile on GitHub profile or orcid.org profile
- Add link to GitHub profile or orcid.org profile back to Mastodon profile
- 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.
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.
Ok! I can see that deleting and re-adding it works. Sorry and thanks!
...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)
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.
Alas, removing and re-adding my ORCID still doesn't verify in v4.0.2 on scholar.social
This is an issue with ORCID: https://github.com/ORCID/ORCID-Source/issues/6668