Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: google drive

by Veltro (Hermit)
on Oct 10, 2025 at 08:30 UTC ( [id://11166455]=note: print w/replies, xml ) Need Help??


in reply to google drive

I've shared an example here a few years back to interact with gmail. Wrote my own Authen\SASL\Perl\XOUTH2.pm to handle the Bearer. The Perl program was able to get the access token on the command line and it facilitates refreshing as well. I have not looked at your code in detail, but it looks similar, maybe the example is usefull to you: Send email with OAuth 2 through Gmail SMTP or API

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2025-11-13 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (69 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.