Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add flowchart on how authorization should work

  • Loading branch information...
commit de6155f5c0b6674bd4e77bf8c3bfb585e6c9bdeb 1 parent 2e1cff3
@rmccue authored
Showing with 47 additions and 0 deletions.
  1. +47 −0 process.md
View
47 process.md
@@ -0,0 +1,47 @@
+# Authorization Flow
+
+ /------------------------------\
+ | User clicks "Connect" button |
+ | in consumer |
+ \______________________________/
+ |
+ |---------------------------------|
+ | Send user to authorization page |
+ |---------------------------------|
+ |
+ v
+ / \
+ /--------- ----------\ No |-----------------------------|
+ < Is the user logged in? >----------->| Redirect user to login page |
+ \--------- ----------/ |-----------------------------|
+ \ / |
+ | v
+ Yes | /----------------/
+ | / User logs in /
+ | /----------------/
+ | |
+ | <--------------------------------------/
+ v
+ |-------------------------|
+ | Show authorization page |
+ |-------------------------|
+ |
+ v
+ /----------------------------------/
+ / User authorizes the application /
+ /----------------------------------/
+ |
+ v
+ |-----------------------------|
+ | Mark consumer as authorized |
+ |-----------------------------|
+ |
+ v
+ |----------------------------------|
+ | Create access token for consumer |
+ |----------------------------------|
+ |
+ v
+ /----------------------\
+ | Redirect to consumer |
+ \______________________/
Please sign in to comment.
Something went wrong with that request. Please try again.