A demonstration of the usability of OAuth and OAuthKit.
- The service is the only one in question right now, which is google.
- There is already a custom Token defined
email
- Command:
swift run oauth-cli \
--google \
--clientid YOURCLIENTID \
--clientsecret YOURCLIENTSECRET \
--redirecturi YOURREDIRECTURI \
--scope https://www.googleapis.com/auth/userinfo.email