rel-atproto

From IndieWeb


rel-atproto is a link relation that can be added to your rel-me links to indicate that this link is an ATProto account handle and an authentication option in RelMeAuth.

How

How to publish

For site publishers who want to link to an ATProto profile

Add rel="me atproto" to the link to your ATProto profile URL:

<a href="https://example.bsky.social" rel="me atproto">BlueSky</a>

How to consume

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

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 atproto, then treat the link as an ATProto account handle and follow the ATProto OAuth guide

IndieWeb Examples

you can link to your BlueSky handle from your website, similar to how you would link to a GitHub or other external profile

https://indielogin.com/setup#atproto


See Also