Please does anyone have an idea on how to implement OAuth using
httr package for a system that is automatically built using Travis CI?
The problem here is to be able to securely have the token within the Travis environment.
I tried to automatically generate the token within Travis during build, but build hangs for a long time and then terminates. I guess the OAuth flow waits for authentication via a browser and then fails when nothing happens.
I am able to authenticate on my local PC, because when prompted on the browser, I just click 'OK' to authenticate.
Many thanks for any help.