Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ade84b33de
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.449 kb

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!

Jump to Line
Something went wrong with that request. Please try again.