You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to modify the __DATA__ code in API::Google::Server.pm to allow access to additional access tokens by changing the scope property in the link. Is there a better way to do this?
The text was updated successfully, but these errors were encountered:
I also just worked out I needed to do this. Trying to add in scopes for GMail. I had to perldoc -l API::Google::Server to get the installed path of Server.pm and then modify the hard coded html block to include the extra scope so that the scope is included in the URL link to Google for AUTH request generated by the goauth CLI tool. There seem to be a variation between this repo and cpanel and also something perhaps in mojo or a dependency that gives precendence to API::Google::Server over the local Server.pm in the package.
in my cli goauth version 0.12
Mojolicious::Commands->start_app('Moo::Google::Server'
Mojolicious::Commands->start_app(''WebService::Google::Client::Server'
as well as some kind of mojo that results in API::Google::Server being used.
I had to modify the
__DATA__
code inAPI::Google::Server.pm
to allow access to additional access tokens by changing thescope
property in the link. Is there a better way to do this?The text was updated successfully, but these errors were encountered: