Page 1 of 1

[SOLVED] Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Apr 05, 2018 5:08 pm
by Lagi Pittas
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

Re: Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Apr 05, 2018 6:48 pm
by mrcoollion
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

Re: Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Apr 05, 2018 7:09 pm
by Lagi Pittas
Hiya

Yep it’s all set for imap
I have downloaded before from gmail using mailstore
And that worked

Lagi

Re: Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Apr 05, 2018 7:37 pm
by ghettocottage
You will also need to enable "less secure apps" for your gmail account:
https://support.google.com/accounts/ans ... 0255?hl=en

Re: Can we login to Gmail with TSNet or do we need OAuth?

Posted: Fri Apr 06, 2018 4:59 pm
by Lagi Pittas
Thanks GC

That worked a treat - thanks a lot.

Kindest Regards

Lagi

Re: [SOLVED] Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Jun 05, 2025 4:24 pm
by slylabs13
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.

Re: [SOLVED] Can we login to Gmail with TSNet or do we need OAuth?

Posted: Thu Jun 05, 2025 6:42 pm
by FourthWorld
slylabs13 wrote:
Thu Jun 05, 2025 4:24 pm
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.
Welcome back to this seven-year-old-thread.

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.