For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
How to get a username to pass it one more REST service....with Basic Authentication enabled for the login screen..
You want to capture a username/password in a form to pass to a service using Basic Auth?
~/jt
Thanks for clarifying. That is kept in a system variable called "user.userId" - see attached screenshot.
That's the source view. Variables are found in the application at the app, flow, or page scope level. You access them either in an action chain or in custom Javascript. The screen shot I just shared shows accessing it via the assign variables action in an action chain.
~/jt
I get this error if I use it JS file - : $application.user.userid
$application is not defined ReferenceError: $application is not defined
As in the username used to log in? I don't think that's exposed unless they use their email address to login. full name has user first and last name.
~/jt
Hi
How do I validate the user input (userid) with that of the available userids stored in business objects? Is there any specific method to do this authentication of user and if so, can we maintain the session for that userid?
One approach I tried is custom filter. i.e. I tried to display the userid in a table below the user id input field by mapping the input variable to the tableSDP. Which shows if the value if present in BO. If not, it displays "No Data to display" In that I am unable to identify how to use conditional navigation to navigate to next page if validation pass and stay there and show error if failed. Please guide me through this. thanks in advance.
That's the source view. Variables are found in the application at the app, flow, or page scope level. You access them either in an action chain or in custom Javascript. The screen shot I just shared shows accessing it via the assign variables action in an action chain.
~/jt