Nothing Special   »   [go: up one dir, main page]

Use indieauth.com as your OpenID Provider

OpenID Provider Setup Instructions

1. Delegate to indieauth.com

To use indieauth.com as an OpenID delegate for the OpenID identifier of your site, add the following two link tags to the HTML (inside the <head> element) of your website, replacing "example.com" with your domain.

<link rel="openid.delegate" href="https://example.com/" />
<link rel="openid.server" href="https://openid.indieauth.com/openid" />

2. Configure a login provider for indieauth.com

Follow the setup instructions to set up one or more login provider for indieauth.com. (indieauth.com does not provide its own accounts, instead it relies on you having accounts at other providers.)

To use Twitter as your login provider, simply add a link like the following to your home page.

<a href="https://twitter.com/aaronpk" rel="me">@aaronpk on Twitter</a>

Additionally, you can avoid needing an account with a third party by using either the email or PGP providers.

<link rel="pgpkey" href="/key.txt">
<a href="mailto:me@example.com" rel="me">me@example.com</a>

3. You're Done!

Try signing in on a website that supports OpenID! The website will discover your OpenID server (openid.indieauth.com) and redirect you here. You'll be presented with a challenge to authenticate using one of the providers you've configured.

This server is hosted by sponsors of IndieWebCamp events. v17.207.1 2.4.3-p205