File:indieauth-login-flow.png

Made with the open source sdedit UML sequence diagram tool.

Sequence code:
 * 1) ![IndieAuth: Login]

browser:Browser "User browser" webapp:Application "Web application" server:Webserver "User web server" authendpoint:Webserver "Auth endpoint"

browser:3. Redirect to auth endpoint=webapp.1. Click "Login" webapp:server.2. Fetch homepage webapp: Discover auth endpoint (1) webapp
 * 1 webapp
 * 1

browser:5. Redirect to web application=authendpoint.4. Verify user browser:7. Show page=webapp.Load page webapp:authendpoint.6 .Verify code webapp: Log user in (2) webapp
 * 2 webapp
 * 2