Net::Google::Drive::Simple does something similar to your task. I believe it achieves what you want by launching its own web server with a page, where the user then kicks of the OAuth2 dance. Maybe you can reuse the logic from that module?
In reply to Re: OAuth 2.0 - Starting Lynx from within a Perl script
by Corion
in thread OAuth 2.0 - Starting Lynx from within a Perl script
by jprimes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |