Save and use Oauth token #303
-
Hey there, how do i get the token that has been generated after Oauth. I want to re use the token for the next set of requests to fetch emails sent to a specific email address. Also, how do i use the access token that has been generated. Below i have updated as per the documentation, but it does not seem to work. Here's my code.
Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This actually wasn't easily possible after the |
Beta Was this translation helpful? Give feedback.
This actually wasn't easily possible after the
auth
instance was handed to thehub
.I have fixed that to allow access to
hub.auth
, allowing to callhub.auth.token()
, which is also done internally. It's available ingmail1-v2.0.9
.