Permalink
Browse files

Add some docs

  • Loading branch information...
Rich Healey
Rich Healey committed Mar 25, 2012
1 parent 3dc3c5a commit ade84b33de615fdebd42225671137b851b5904bc
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.md
View
@@ -1,2 +1,11 @@
This is a basic reverseproxy-type-thing for apps that want to use oauth, but by
design do not have a callback API owing to not actually being HTTP.
+
+The short version of the workflow is:
+
+- Connect to oauth.psych0.tk on port 2000
+- Recieve 128 bytes from the socket. this is your callback id
+- Send http://oauth.psych0.tk/callback/[callback_id] as your callback url
+- Recieve a further 20 bytes from the socket. This is your access token
+
+Job done!

0 comments on commit ade84b3

Please sign in to comment.