1. Olaf Brungot
  2. PowerBuilder
  3. Wednesday, 09 January 2019

Hi,

Is it possible to authenticate ADFS users using SAML/OAUTH in Powerbuilder 2017?

What would be the best approach for this?

Christophe Dufourmantelle Accepted Answer Pending Moderation
0
Votes
Undo
Hi Olaf,
 
Visual Guard 2019 R2 will add the support for oAuth2 and SAML 2.0 to PB applications. As Marco mentioned, the latter allows to manage both Authentications and Authorizations, so I guess it depends on your security requirements.
 
As for ADFS, you can reuse Windows Accounts defined in Active Directory (AD) to authenticate users accessing your application(s), no matter they are defined in a single or several ADs (Identity Federation) located in the same network or not.
 
You will need to integrate Visual Guard with your PB app - add a couple libraries and instantiate its engine - and VG will do the rest - i.e. you don't have to write code to make your App SAML or oAuth compliant.
 
That works also with non-PB code (.Net, Java, Angular...).
 
Regards,
Christophe 
Comment
There are no comments made yet.
  1. Monday, 14 January 2019
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
2
Votes
Undo

Hi Olaf;

   ADFS is actually built upon Active Directory. You can communicate with AD directly / indirectly (see my Elevate 2018 presentation) in your PowerBuilder or PowerServer apps as one solution or utilize ADFS via REST and oAuth2, as follows:

FYI:  https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/overview/ad-fs-scenarios-for-developers

HTH

Regards ... Chris

Comment
There are no comments made yet.
  1. Wednesday, 9 January 2019
  2. PowerBuilder
  3. # 2
Marco Meoni Accepted Answer Pending Moderation
2
Votes
Undo

Hi Olaf,

PowerBuilder supports OAuth 2.0 via the new OAuthCLient object, here the API: 

https://www.appeon.com/support/documents/appeon_online_help/pb2017r3/objects_and_controls/ch02s61.html

Depending on what you want to achieve, remember that, unlike SAML, OAuth doesn’t deal with authentication. It is a standard for authorisation of resources.

Best,

.m

Comment
There are no comments made yet.
  1. Wednesday, 9 January 2019
  2. PowerBuilder
  3. # 3
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.