Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 576 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 576 Bytes

OAuth-Cli

About

A demonstration of the usability of OAuth and OAuthKit.

Notable Mentions
  • The service is the only one in question right now, which is google.
  • There is already a custom Token defined email

Usage

  • Command:
swift run oauth-cli \
--google \                                                           
--clientid YOURCLIENTID \
--clientsecret YOURCLIENTSECRET \
--redirecturi YOURREDIRECTURI \
--scope https://www.googleapis.com/auth/userinfo.email