rel-authn
This article is a stub. You can help the IndieWeb wiki by expanding it with relevant information.
rel-authn is a link relation that can be added to your rel-me links to indicate you want to use them as an authentication option in RelMeAuth.
How
How to publish
For site publishers who want to use their website as their identity (AKA identity providers / IdPs)
Add rel="me authn" to the links you want to be used as an authentication option:
<a href="https://github.com/aaronpk" rel="me authn">github.com/aaronpk</a>
How to consume
This section is a stub. You can help the IndieWeb wiki by expanding it.
For sites who want to support consuming rel-authn (AKA relying parties / RPs)
In your rel=me consuming code:
- when parsing
relattribute values forme, keep track of all other rel values on each rel-me link. - if any of those rel-me links has an additional rel value of
authn, then drop the rel-me links that lack anauthnvalue - treat the remaining set of rel-me links as the set to consume to support Web sign-in (e.g. by presenting only those rel-me links to the user to choose from)
IndieWeb Examples
- indielogin.com has supported rel-authn since it launched in 2018:
If any of your
rel="me"links also includeauthnin the list of rels, then IndieLogin.com will only use the links withauthn, and will no longer consider your plainrel="me"links as authentication options. https://indielogin.com/setup#choosing-auth-providers
- https://auth.hawx.me/ has supported rel-authn since ????-??-??:
- Source code: https://github.com/hawx/relme-auth