I'm trying to running the application provided within the training module 20.1, but when a preview the application from WL console, the SingleStepAdapterBasedAuthentication.html page is never ready (loading icon running forever.
Looking in the Firebug console I found this error:
wlclient init started
\$ is not defined
auth.js (line 21)
For completeness' sake, I customized the authenticationConfig.xml in WL server and I've deployed the provided adapter.
Where the \$ reference should be defined?
This topic has been locked.
5 replies Latest Post - 2012-04-11T08:04:43Z by IdanAdar
Pinned topic Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue2012-04-11T04:29:13Z in response to SystemAdminCan you please give us some information about your setup version? Which Worklight version and build is this?
Trying to guess, I would say that you are running the interal jQuery edition and using samples that are not updated to work with jQuery. Am I in the right direction here?
Re: Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue2012-04-11T06:44:46Z in response to SystemAdminHi Idan,
thanks for quick reply. When I saw "\$" I thought to jquery as well but because it's a WL module, I thought it was "self-contained"
I'm running WL Studio 4.2.2.jq1290 and WL server Build Version: 126.96.36.1993.
I've just downloaded and tested (with the same result) the module from this site:
Re: Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue2012-04-11T07:11:54Z in response to SystemAdminYou are using an internal version that contains partial work moving to jQquery. You are using it with samples that are not meant to work with jQuery, hence the failures. You are also using it with a mismatching Server version. Not all samples have yet to be ported to support jQuery... when the next official release comes, they will all work.
Re: Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue2012-04-11T07:52:51Z in response to SystemAdminThanks Idan,
is that a version of the training module that I can use with this installation? My goal is to understand with an example how to use the adapter authentication and then apply that to another project.
Re: Trainnig module 20.1 (SingleStepAdapterBasedAuthentication) issue2012-04-11T08:04:43Z in response to SystemAdminFor that purpose you install Worklight (Server and Studio) 4.2.1, or the 'regular' 4.2.2 and follow the modules in the Get Started page to better understand the Worklight feature set, including adapter authentication in the more advanced modules.