Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Calling a DELEGATE service while running the app
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Calling a DELEGATE service while running the app (Read 6488 times)
Jos? V.
Posts: 58
Calling a DELEGATE service while running the app
«
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.
Posts: 80
Re: Calling a DELEGATE service while running the app
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...