Forum Discussion
14 Replies
- Arnaud_LemaireEmployee
Hello,
could you try to activate APM debug, and paste some of them from /var/log/apm ?
do you see your script in the page delivered to end user ?
to facilitate troubleshooting you can remove the visibility=hidden and body.styp = none from the script.
- Pratik_125797Nimbostratus
Yes I can see the script getting delivered to the browser on the login form. Will update the debug results here.
- Kevin_StewartEmployee
In most cases (that I've seen) it's usually form identification that's to blame. The SSO needs to know what to look for - with some combination of form action, form name, form location, attribute names, response criteria, etc.
- Michael_JenkinsCirrostratus
One thing I have noticed with client initiated SSO is that if there is a submit button with the id/name
, the javascript call to submit the form won't work. In those cases, I've had to update the SSO profile to include extra Javascript to rename the submit button or else just programatically click the submit button instead.submit
- NN_210021Nimbostratus
I have a similar problem, where the javascript get inserted, but i get the following:
TypeError: __f5action.indexOf is not a function var __f5qsep = (__f5action.indexOf('?') == -1) ? '?' : '&';
F5_Inflate_onevent(document.body,[0x6f,0x6e,0x6b,0x65,0x79,0x64,0x6f,0x77,0x6e],0,function(e){return false;}); document.body.style.visibility='hidden'; document.body.style.display='none'; function __f5submit() { var __f5form = document.forms[2]; F5_Invoke_setAttribute(__f5form,'autocomplete', 'off'); F5_Inflate_value(__f5form.username,[0x76,0x61,0x6c,0x75,0x65],0,'PeteXY'); F5_Inflate_value(__f5form.password,[0x76,0x61,0x6c,0x75,0x65],0,'f5-sso-token'); ; var __f5action = F5_Deflate_action(__f5form); var __f5qsep = (__f5action.indexOf('?') == -1) ? '?' : '&'; F5_Inflate_action(__f5form,0,__f5action + __f5qsep + 'f5-sso-form=user_login'); ; F5_Invoke_submit(__f5form); } if (window.addEventListener) { F5_Invoke_addEventListener(window,'load',__f5submit,false); } else if (window.attachEvent) { F5_Invoke_attachEvent(window,'onload',__f5submit); } else { F5_Inflate_onload(window,0,__f5submit); }
Besides username and password, there is a and a tag
Do i need the specify the hinddden parameter, altough it already has a predefined value ?
- Michael_JenkinsCirrostratusyou may need to change the name or remove the tag. My guess is that it's causing an issue because the javascript uses the "action" attribute on the tag, which should have an indexOf function because it's a string.
- NN_212657NimbostratusThat made the deal, THANKS!
- Pratik_125797Nimbostratus
Hello Michael,
Yes there is a submit button. I am trying to use it with Oracle EBS. I tried to add the form id in form identification, also upgraded the F5 to 11.6 HF5 but it's still not working. I am new to Java, can you please give me some pointers or help me with what extra to add in Java script.
- Pratik_125797Nimbostratus
Sorry ID of the button is "SubmitButton", will that create any issue ?
- Michael_JenkinsCirrostratusno. that shouldn't cause an issue then.
- Pratik_125797Nimbostratus
Well in that case it is something else which is not triggering the POST request. Any other help ? Has anyone implemented this with Oracle EBS ?
- gbbaus_104974Historic F5 Account
Hi
Did you solve this ? If so, How ?
If not ...
What are your username and password values in the Form ?
Do they contain "." , eg: MyUser.name ?
- Pratik_125797Nimbostratus
Hello,
Yes I was able to fix it, with some help on Java and a case in F5. This script finally worked.