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.
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.