Support Article
Mashup: Logins not working in Production
SA-33983
Summary
Mashup gadget is configured properly and in all environments the configurations is the same. In all environment except for Production the login works fine and the Mashup rendered correctly. In Production the PRPC login screen is shown.
Error Messages
No exceptions in log file or on login screen.
Steps to Reproduce
- In production set the system level to 5 - Production
- Use the OTB Code-Security.IACAuthentication Activity
Root Cause
In the OTB Code-Security.IACAuthentication acitivity Step 1 has a condition looking at the system level. If the system level is "5" then the UserIdentifier parameter forced to be set by a HTTP header of pyUserIdentifier.


Code used:
@java("((javax.servlet.http.HttpServletRequest)tools.getRequestor().getRequestorPage().getObject(\"pxHTTPServletRequest\")).getHeader(\"pyuseridentifier\")")
Resolution
It's assumed that when doing a Mashup implementation modifications will be made to the Code-Security.IACAuthentication activity to support any custom SSO required for the application.
Step 1 should commented out if the environment setup is not passing the userid in a HTTP Header regardless of system level.
Published February 21, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.