File:micropub-auth-flow.png

From IndieWeb

Original file(958 Γ— 591 pixels, file size: 59 KB, MIME type: image/png)

Made with the open source sdedit UML sequence diagram tool.

Sequence code:

#![Micropub: Obtaining an Access Token]

browser:Browser "User browser"
client:Application "Micropub app's server"
server:Webserver "User web server"
authendpoint:Webserver "Auth endpoint"
tokenendpoint:Webserver "Token endpoint"
micropubendpoint:Webserver "Micropub endpoint"

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

browser:5. Redirect to\\nweb application=authendpoint.4. Verify user
browser:8. Show page=client.Load page
client:tokenendpoint.6. Exchange auth code\\nfor access token
tokenendpoint:authendpoint. 7. Verify auth code
client:
*2 client
Log user in
*2
(2) client

browser:Success!=client.9. Create a post
client:Micropub endpoint\\ncreates post on website=micropubendpoint.10. Submit Micropub request\\nwith access token
micropubendpoint:tokenendpoint.11. Verify access token

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:47, 26 July 2015Thumbnail for version as of 15:47, 26 July 2015958 Γ— 591 (59 KB)Aaronparecki.com (talk | contribs)

The following 2 pages use this file: