Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
Im not aware of any. The IW auth system is pluggable. Have you checked to see if there is any existing Delphi code available? The IW auth system is very simple to add new auths to.
Posts: 93
Threads: 20
Joined: Mar 2018
Reputation:
1
Thank you.
I thought I would ask.
I have begun coding for oauth2 as you suggested.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
You may consider making your OAuth2 work open source. This would allow you to publish it for others to assist, and we regularly (with permission and credit) roll in users open source work to our main installs for everyone to benefit from.
Posts: 2,250
Threads: 193
Joined: Mar 2018
Reputation:
86
Location: Auckland, New Zealand
OAuth2 is simple stuff.
I've introduced a new class TIWOAuthClient in unit IWOAuthClient.pas. It can correctly handle an access token request that can be used to further communicate with services that require oAuth authentication.
It will be included in the next IW update
Posts: 2,250
Threads: 193
Joined: Mar 2018
Reputation:
86
Location: Auckland, New Zealand
02-21-2023, 11:41 PM
(This post was last modified: 02-21-2023, 11:44 PM by Alexandre Machado.)
@zsleo,
the class is simple and generic enough to allow subclassing and possibly some level of customization and extension.
The basic functionality for now allows user to obtain an oAuth2 access token that can be used to communicate with other applications which require that form of authentication. This class is another one to make use of our TIWHTTPClient class which simplifies the HTTP request/response process in an IW app.
We intend to expand it in the future, of course. If you have any particular requirements, please let me know and I'll consider them.
Kind regards,