Skip to content

FunctionalHacker/oauth_server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth server

A simple services that handles OAuth flow for limited input devices.

It involves the following steps:

  • App calls the POST https://{server}/initialize endpoint with the OAuth data, this returns a short unique code.
  • The url with the code in presented in the app interface: e.g. 'Visit https://{server}/ABCD'.
  • End user visits the url on a device of choice and does all that is required for the OAuth flow.
  • Finally a callback is made to https://{server}/callback with the OAuth code, this returns a short code.
  • End user enters the short code in the app on the limited input device.
  • The app calls https://{server}/code/EFGH to retrieve the OAuth code.

urls

POST /initialize GET /{code} GET /callback/ GET /code/{code}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.2%
  • Dockerfile 4.5%
  • Shell 4.3%