Migrating to new Janrain integration model

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/25/2013 3:58:47 PM
Gravatar
Total Posts 7

Migrating to new Janrain integration model

The current client-side implementation of Janrain integration doesn't work properly on IE10 (and possibly other versions). It properly pops the dialog and the 3rd party login works, but there is a permissions error when the dialog tries to communicate with the opener via JS. Putting IE10 in compatibility mode (at least for the login page) resolves the issue, but then there is a persistent nagbar about the browser being "ancient" (not that we would ever ask users to switch modes anyway). We have not observed any issues in Chrome.

A cursory look through the client-side integration shows that it is significanly different from what the docs recommend, which could be possibly due to them changing the model since implementation and/or the current implementation offering a better solution for mojoPortal. However, not working on IE10 is a showstopper, and I was surprised to see that there weren't any posts about this in the forum. We haven't changed anything in terms of the implementation, and it's difficult to determine if there's a clean way to do it. I'm also not sure if using their recommended approach would even resolve the issue. Trying it out on their test page worked as expected, so it's also possible it may have to do with the document definition since IE may treat permissions differently for the sake of compatibility.

Any thoughts?

5/25/2013 4:09:06 PM
Gravatar
Total Posts 18439

Re: Migrating to new Janrain integration model

I just registered on this site with IE 10 using twitter via janrain and it worked fine with no errors.

5/25/2013 7:26:43 PM
Gravatar
Total Posts 7

Re: Migrating to new Janrain integration model

I dug in a little more and it looks like the Janrain UI was getting rendered using the iframe model instead of the "janrainEngageEmbed" div one. After some source spelunking I found that adding a key for "OpenIdRpxUseOldImplementation" and setting it to "False" fixed our issue by using the new Janrain implementation.

5/26/2013 3:08:43 PM
Gravatar
Total Posts 18439

Re: Migrating to new Janrain integration model

Strange that the default was true on that, I can't remember if there was a reason it was like that but I've just changed the default to false. I was overriding it on this site to false. It was quite a while back that I updated to their new widget.

Thanks,

Joe

You must sign in to post in the forums. This thread is closed to new posts.