Skip to content

tgwizard/bash-oauth2-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2 client in written in bash and netcat

This is a proof-of-concept OAuth 2 client written in bash and netcat. It integrates with Google.

Local setup

Prerequisites

A modern version of netcat is required to run this. The one preinstalled on Mac OS X is not good enough.

brew install netcat

Run

./start.sh

Go to http://localhost:8998.

Sign in to Google and authorize the app to access your profile info.

Client registration at Google

This is not necessary to run the project, the client credentials are hard-coded.

Go to https://console.developers.google.com, set up a new project.

  • Create OAuth credentials, and specify a redirect_uri.
  • Make sure you add a support email on for the consent screen.
  • Enable the Google+ API.

You can revoke the access you granted to the client here: https://security.google.com/settings/security/permissions

About

OAuth 2 client written in bash and netcat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages