chronicle-app / chronicle-etl

📜 A CLI toolkit for extracting and working with your digital history
https://chronicle.app/
MIT License
149 stars 3 forks source link

Add third-party oauth2 authorization system. Close #48 #51

Closed hyfen closed 2 years ago

hyfen commented 2 years ago

This works by spinning up a simple Sinatra server with Omniauth running through Rack. A user starts the server through the CLI (chronicle-etl authorizations:authorize google) and a browser window is launched for the oauth flow. Upon completion, the server is shut down and the authorization is saved into the secrets system.