relme-auth

Sign in with your domain

Try signing in to this site:

You can log in to this site without creating a new account! Instead make sure one (or more) of the methods below is setup.

PGP

To authenticate with your PGP key add a link to your public key on your homepage.

<a rel="pgpkey" href="/key.asc">Key</a>

Or if you don't want the link to be visible.

<link rel="pgpkey" href="/key.asc" />

Flickr

To authenticate with your Flickr account add a link to your profile on your homepage.

<a rel="me" href="https://www.flickr.com/people/YOU">Flickr</a>

Or if you don't want the link to be visible.

<link rel="me" href="https://www.flickr.com/people/YOU" />

Make sure your Flickr profile has a link back to your homepage.

GitHub

To authenticate with your GitHub account add a link to your profile on your homepage.

<a rel="me" href="https://github.com/YOU">GitHub</a>

Or if you don't want the link to be visible.

<link rel="me" href="https://github.com/YOU" />

Make sure your GitHub profile has a link back to your homepage.

Twitter

To authenticate with your Twitter account add a link to your profile on your homepage.

<a rel="me" href="https://twitter.com/YOU">Twitter</a>

Or if you don't want the link to be visible.

<link rel="me" href="https://twitter.com/YOU" />

Make sure your Twitter profile has a link back to your homepage.

Choosing auth providers

You may want to mark some links up with rel="me", but not want to consider them for authentication. You can choose which will be considered by adding rel="authn" too.

In the following example only Twitter and PGP would be shown as options.

<a rel="me authn" href="https://twitter.com/YOU">Twitter</a>
<a rel="me" href="https://github.com/YOU">GitHub</a>
<a rel="pgpkey authn" href="/public.asc">My PGP Key</a>

IndieAuth

To use this service for IndieAuth create a JSON file containing this minimal config:

{
  "issuer": "https://yoursite.example.com/",
  "authorization_endpoint": "https://auth.hawx.me/auth",
  "token_endpoint": "https://auth.hawx.me/token",
  "code_challenge_methods_supported": ["S256"]
}

The recommended path for this is /.well-known/oauth-authorization-server, but you can use something else if it makes more sense for you. The "issuer" should be set to your URL. See the IndieAuth specification for more detail on what each property means.

Then link to that file in your homepage's <head>:

<link rel="indieauth-metadata" href="/.well-known/oauth-authorization-server">

For greater compatibility with services that use the previous method of config discovery you might also want to add the following to your page's <head>:

<link rel="authorization_endpoint" href="https://auth.hawx.me/auth">
<link rel="token_endpoint" href="https://auth.hawx.me/token">

More information

To find out more information on RelMeAuth, or other implementations, read its IndieWeb wiki entry.