rel-authn

From IndieWeb


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

For sites who want to support consuming rel-authn (AKA relying parties / RPs)

In your rel=me consuming code:

  • when parsing rel attribute values for me, 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 an authn value
  • 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

If any of your rel="me" links also include authn in the list of rels, then IndieLogin.com will only use the links with authn, and will no longer consider your plain rel="me" links as authentication options. https://indielogin.com/setup#choosing-auth-providers

See Also