You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

URL Parameters and OPA

Question
22
Views
0
Comments
edited Jan 25, 2019 3:04PM in Customer Portal

Summary

Require Login is stripping parameters from URL for OPA model call.

Content

Hello,

I am running multiple OPA Models integrated into OSvC. I am attempting to create one OPAM.php page that will parse URL parameters to obtain the widget parameters such as the deployment name, an incident ID, seedData, and a logic switch parameter that determines which parameters to use in the OPAWidget.

The OPA models require the user to be logged in.  As such, I have the rn:meta login_required="true" on the OPAM.php page header for the page that calls the OPA widget.

If the user is not logged in when the URL is clicked, the login_required="true" redirects the user to the customer portal login page as expected. After the login occurs, the parameter for the opa deployment name is truncated off of the OPA URL and an error occurs.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!