Rather than store my password in the code or config files, is there an easy way to use an Oauth token instead? Thought about encrypting it, but thats like hiding a key under the doormat...
Asked
Active
Viewed 43 times
0
-
1Easy? No. Nothing about OAuth is easy. – Bill Shannon Jan 05 '17 at 02:52
-
Possible duplicate of [Connect to gmail (using imap and javamail) with encryted password](http://stackoverflow.com/questions/5183651/connect-to-gmail-using-imap-and-javamail-with-encryted-password) – Inzimam Tariq IT Jan 16 '17 at 21:31