login about faq


this is more of a process question. After getting some more grey hairs after figuring out how to setup the secret IDs at the Google website the code for connecting with OAuth to Gmail actually works.

But what comes then? Please correct me if I misunderstand something:

  • I get an access token back which I stash the access token somewhere. Should this be encrypted?
  • And then I pass the access token instead of a password in Chilkat.Imap.LoginAsync(UserName, Password)

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals

asked Aug 13 '17 at 04:31

bwill's gravatar image


Hi Beatrix,

You should protect the access token, because it's effectively your password for some time.

Yes, you pass the access token instead of the password in the Password argument.


answered Aug 14 '17 at 20:36

chilkat's gravatar image

chilkat ♦♦

Thanks for the info!


answered Aug 15 '17 at 11:06

bwill's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 13 '17 at 04:31

Seen: 1,774 times

Last updated: Aug 15 '17 at 11:06

powered by OSQA