Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Calling a DELEGATE service while running the app  (Read 4981 times)
Jos? V.
Posts: 55


« on: May 12, 2022, 10:25:56 am »

We are currently migrating our authentication protocol to GIP on an app tha previously authenticated via system users(ssh login and GDC/putty).

I have sucessfully set up the OpenIDConnectServiceProvider delegate service as described in the manual and everything works as expected.

But we have some modules within the app that ask for authentication via a form as a way to ensure the supervisor authorized the module to be ran.

Is there a way to call the delegate service from BDL code for the supervisor to authenticate while the app waits for it to respond and then act acordingly?

The only way I found to do this is to ask for a token with grant_type = "password".
But this leaves the task of asking the user and password to the app which might be seen as a security problem(the legacy system user verification has this issue).

Thank you
Sisavanh S.
Four Js
Posts: 80


« Reply #1 on: May 13, 2022, 04:38:57 pm »

Hi,

We do not provide means to do authentication or retrieve scopes in the middle of an application.
Usually you retrieve the information at the startup of the application.
As an example, see the "ConsoleApp" in $FGLDIR/web_utilities/services/gip/src/console/ConsoleApp.4gl
The ConsoleApp displays different menu when you are an admin or a simple user.

If you need more details please contact your local support center.

Regards,
Sisa.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines