Okta login form is not submitted in panel since Premiere Pro 2020 (14.4)
Steps to reproduce:
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <script> window.location.href = 'https://test.oktapreview.com/login/login.htm'; </script> </head> <body></body> </html>
Actual Result: Nothing happen, the form is not submitted. There isn't any error in console
Expected Result: The form should be submitted
Premiere Pro Version: 2020 (14.4)
Extension Type: Panel
Thanks & Regards,
Can you try using single context instead of multiple context and check if this resolved your problem? Else you can try disabling nodejs in just the iFrame that is doing the okta workflow.
@sujai s Thank you for looking into this.
We need to run the extension in mixed context only. This is working with mixed context till Premiere Pro 14.3, something has changed in Premiere Pro 14.4 (CEP 10)
There is no iframe in our case, we simply redirect to okta login page
@meett9325076 I'm sorry, I don't understand this. Mixed context should be enabled only when you have iframes., otherwise this parameter is not needed at all. You please go though the docs for more details.
If no iframes, --mixed-context is really not needed.
If mixed context is needed for some specific reason, then please use disable-nodejs as explained in this section.
@sujai s Okta login is just part of our flow. Entire flow is as below:
- On panel load, we just redirect to our application Url - using window.location.href
- If the application user is not already logged in, we display a login page (The login page is displayed by the app)
- There is a button in the login page to login through okta, when we click on this button, it is redirected to okta login page (Again this redirection is performed by our app)
- When we enter valid okta credential and do login it will be redirect to our application home page. So this part is broken since Premiere Pro 14.4 as the okta login form is not submitted.
We need mixed cotext here as we use some of the node modules using "require" syntax. If we remove the mixed context then below error is thrown:
ReferenceError: require is not defined
Again there is no iframe in our case as we just redirect to a different application
I hope you understand now why we need mixed context and why there is no iframe in our case
Premiere: 15.0 (Build 41)
Since one of our customers has updated to the latest Premiere biuld our CEP panel is experiencing unexplained crashes. The symptom is the panel flashes white and then reloads. The same version of the panel works in 14.3.2 but fails in newer builds. The customer is accessing the machine on which Premiere is running remotely through Teradici PCoIP.
Looking at the CEP panel-specific debug log file:
[0326/143112.347:ERROR:bad_message.cc(27)] Terminating renderer for bad IPC message, reason 95
2021-03-26 14:31:12:354 : INFO CEPHTMLENGINE, RenderProcess terminated with status=2
So it appear the CEP engine is terminating for some reason.
I have tried connecting the debugger and stepping through the code, but the issue seems to happen outside our code (when we return from a DOM event handler). I'm not seeing anything relevant in the debugger's console.
The issue only happens at this site, and only for some users, but for those users it happens consistently.
Because it's not occurring 'in' our code I'm not sure what additional information I can provide - but if anyone has any clues I've run out of ideas.