Use OAuth2 with Omnis 10.1?
Phil (OmnisList)
phil at pgpotter.co.uk
Fri Dec 18 12:28:05 EST 2020
Hi Das,
firstly note, OAuth is not Oauth2.
As Mike says, not easily.
I've done it previously externally in Python code, to google calendar,
and now recently had to look at it against Xero.
Not straight forward at first, but achievable.
now in 10.2, there is an Oauth2 option in the OW3 set of functions...
I believe that is what Mike used for his UK Govt tax website, and I
intend to look into what is involved connecting to gmail, which Bob said
they have done.
It may be a resolution for other Oauth2 connections... but as for now, I
have not looked at it at all.
Oauth2 is the solution that Google for example will open a web page
asking for permission to use such and such service...
you receive some token back, which you can then use for your direct
interaction with the service.
That permission may last a long time, or a short time, and when it runs
out, you have to log back in and regain permission.
The google solution seemed to work well in Python, Xero less so!
regards
Phil Potter
Based in Chester in the UK.
On 18/12/2020 15:47, Das Goravani wrote:
> How do you use OAuth?
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list