How to integrate open edx with wordpress?

741 views
Skip to first unread message

Nguyễn An

unread,
Jul 25, 2016, 9:27:38 AM7/25/16
to General Open edX discussion
Hi all, I have a wordpress website. I want to install open edx in additional, and the user accounts will be shared between 2 system. I think it's possible technically. Is there anyone did similar thing before? Could you please give me some advice? Thank you.

m.qais...@gmail.com

unread,
Sep 23, 2016, 7:37:23 AM9/23/16
to General Open edX discussion
Hi Nguyen,

I am also struggling to implement this functionality, are you able to achieve this functionality ?
Can you please help me in this matter.

Thanks

Bengt Bjorkberg

unread,
Oct 28, 2016, 1:01:13 PM10/28/16
to General Open edX discussion
Did either of you figure out how to do it?

Daniel McQuillen

unread,
Oct 31, 2016, 11:01:09 PM10/31/16
to General Open edX discussion
Hi Nguyễn,

I've asked a similar question on this newsgroup earlier, and done just a bit of research into the area.  Here are a few notes...I hope they help!

I got partway through an experiment with setting up SSO between WP and Open edX. I set up a simple WordPress site to act as the Relying Partner (RP) and had Open edX serving as the OpenID Provider (OP), similar to how Insights manages SSO with Open edX. My intention was 1) to make users have to register on the Open edX site and 2) whenever somebody logs in, point them at the Open edX login page then return them to the WP page, fully logged in and able to access role-protected content.

For WordPress, I used the plugin daggerhart / openid-connect-generic plugin to try to facilitate setting up the OpenID connection. The problem I ran into is that this plugin uses a GET variable action=openid-connect-authorize to help route the callback to within the admin-ajax.php page during OAuth2 authentication...however, Open edX will strip this extra GET variable when redirecting the browser, thereby breaking the process. ( Meanwhile, I've asked the openid-connect-generic library developer is there is a way in WordPress to route the callback to a full URL rather than using a GET variable.)

So it looks promising, but haven't completed the experiment yet. Perhaps you'll get farther. Curious what your approach is if you intend to have WordPress act as the OP.

Hope that helps.

Daniel




Reply all
Reply to author
Forward
0 new messages