Skip to main content

Hello

A provider is asking me if we can use the protocole OAuth2 (I didn't know what was that protocole before) when using API .Is there a solution with uniface.Im' accessing all the webservice via the  uhttp component.

So what to answer him


Dominique


Hello

A provider is asking me if we can use the protocole OAuth2 (I didn't know what was that protocole before) when using API .Is there a solution with uniface.Im' accessing all the webservice via the  uhttp component.

So what to answer him


Dominique


Hi,

IMHO talking about OAuth you communicate in a standardized way with Server/Servers, using standardized security (tokens etc.), like talking to a RestAPI in a standardized way.
As I understand it you would use the UHTTP-command to get responses in eg. Json and would have to move that into Uniface forms/services using jsonToStruct, structToEntity and other Uniface functions.

This is not the easiest way to make large Uniface-programs, although its possible to use for some specific situations.

Lets hope for more answers on your question to see what other think....

Regards RogerW.


Hello

A provider is asking me if we can use the protocole OAuth2 (I didn't know what was that protocole before) when using API .Is there a solution with uniface.Im' accessing all the webservice via the  uhttp component.

So what to answer him


Dominique


Hi Dominique,

would you like to use OAuth2 to access internet services provided somewhere (As Client) or would you like to implement OAuth2 in your own services (As Server)?

Anyhow have a look to latest implementation of Security Driver either on 9.7 or 10.3...OAuth2 should be implemented and available (but I have not yet tested/used it!!!).

Gianni



Hello

A provider is asking me if we can use the protocole OAuth2 (I didn't know what was that protocole before) when using API .Is there a solution with uniface.Im' accessing all the webservice via the  uhttp component.

So what to answer him


Dominique


Hi Gianni

As a client, didn't find in 9.7,  not in 10 yet

Dominique


Hi Gianni

As a client, didn't find in 9.7,  not in 10 yet

Dominique

Hi Dominique,

Have a look at:

https://documentation.uniface.com/09/uniface/_reference/securityDriver/POP_XOAUTH2SecurityDriver.htm

There is where I've seen it!

Gianni