Skip to content

npm-janitor/auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-server

Helps in CLI authenation of github.

END POINTS:

login -> Hit this URL for the first time login and auth process.

api -> Returns an array of objects which has the user module info.

token -> Returns the oauth token for a given id.

Use case:

  • Open the URL with query param id from the CLI in our case: open(https://npm-janitor.herokuapp.com/login?id=42)

  • User logins and gives perms for the registered app and see a message: DONE! CHECK YOUR CLI.

  • On CLI you could hit https://npm-janitor.herokuapp.com/token?id=42 to get the oauth token.

  • Victory! Save the token in a safe zone and use it.

About

github auth-server for CLI tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published