[SOLVED] Can we login to Gmail with TSNet or do we need OAuth?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 366
- Joined: Mon Jun 10, 2013 1:32 pm
[SOLVED] Can we login to Gmail with TSNet or do we need OAuth?
Hi All,
Well the subject says it all.
I followed the tutorial here
http://lessons.livecode.com/m/4071/l/85 ... ap-account
And I get an
"Error connecting to server: tsneterr: (67) Login Denied"
What am I doing wrong - I am using the Business edition although indy edition gave the same error
Do I need to login using OAthe 2.0 and then use tsnet to do the clever bits? Do I need to somehow tell Gmail that I am a trusted program and if so how - Dropbox on the Iphone comes back and asks so I assume that is OAuth.
Regards Lagi
Well the subject says it all.
I followed the tutorial here
http://lessons.livecode.com/m/4071/l/85 ... ap-account
And I get an
"Error connecting to server: tsneterr: (67) Login Denied"
What am I doing wrong - I am using the Business edition although indy edition gave the same error
Do I need to login using OAthe 2.0 and then use tsnet to do the clever bits? Do I need to somehow tell Gmail that I am a trusted program and if so how - Dropbox on the Iphone comes back and asks so I assume that is OAuth.
Regards Lagi
Last edited by Lagi Pittas on Fri Apr 06, 2018 4:59 pm, edited 1 time in total.
-
- Posts: 738
- Joined: Thu Sep 11, 2014 1:49 pm
Re: Can we login to Gmail with TSNet or do we need OAuth?
Did you set up your GMAIL account correct?
If not it will not work.
see: https://www.lifewire.com/how-to-enable- ... ap-1170856
Hope this helps.
Regards,
Paul
If not it will not work.
see: https://www.lifewire.com/how-to-enable- ... ap-1170856
Hope this helps.
Regards,
Paul
-
- VIP Livecode Opensource Backer
- Posts: 366
- Joined: Mon Jun 10, 2013 1:32 pm
Re: Can we login to Gmail with TSNet or do we need OAuth?
Hiya
Yep it’s all set for imap
I have downloaded before from gmail using mailstore
And that worked
Lagi
Yep it’s all set for imap
I have downloaded before from gmail using mailstore
And that worked
Lagi
-
- Livecode Opensource Backer
- Posts: 366
- Joined: Tue Apr 10, 2012 9:18 am
Re: Can we login to Gmail with TSNet or do we need OAuth?
You will also need to enable "less secure apps" for your gmail account:
https://support.google.com/accounts/ans ... 0255?hl=en
https://support.google.com/accounts/ans ... 0255?hl=en
-
- VIP Livecode Opensource Backer
- Posts: 366
- Joined: Mon Jun 10, 2013 1:32 pm
Re: Can we login to Gmail with TSNet or do we need OAuth?
Thanks GC
That worked a treat - thanks a lot.
Kindest Regards
Lagi
That worked a treat - thanks a lot.
Kindest Regards
Lagi
Re: [SOLVED] Can we login to Gmail with TSNet or do we need OAuth?
Bad news for anyone doing this, Gmail and Microsoft are abandoning support for less secure apps. Without OAuth support mail will not be retrievable I fear. I get this same error with office.com. I administer the mail domain, but I can no longer find a place to enter an app password. This is why I have preached for years, cloud based computing is not going to be advantageous for the clients, only for the software corporations.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: [SOLVED] Can we login to Gmail with TSNet or do we need OAuth?
Welcome back to this seven-year-old-thread.slylabs13 wrote: ↑Thu Jun 05, 2025 4:24 pmBad news for anyone doing this, Gmail and Microsoft are abandoning support for less secure apps. Without OAuth support mail will not be retrievable I fear. I get this same error with office.com. I administer the mail domain, but I can no longer find a place to enter an app password. This is why I have preached for years, cloud based computing is not going to be advantageous for the clients, only for the software corporations.
Yes, OAuth is among the leading standards for allowing users to grant access to third-party app devs.
LC supports OAuth.
I share much of the sentiment in your last sentence, but improving security for end-users isn't on my own list of complaints.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn