By: Matthew Perper user 17 Jun 2020 at 5:27 p.m. CDT

2 Responses
Matthew Perper gravatar
Hi, I am very new to gluu but I recently just starting contracting for a company and they have been using it in their Wordpress site for their SSO. I have created a site outside of the Wordpress one in PHP and was wondering if it was possible to actually integrate that same SSO style into my own site? The way the flow is now it goes Wordpress -> Gluu server VM -> session back to Wordpress. I would like it to simply be Seperate server w/site -> Gluu server VM -> session back to my site. I have been studying the documentation and I am genuinely stumped on how I can do this in a simple manner. I have created an OpenID client for my site, but to be honest the next step is trivial to me and I am chasing my own tail in circles. Again, the only thing I want to do is have an SSO option on my site to redirect to /oxauth/login.htm, fetch their session and expiration from that call, and call it a day. Am I over my head here? Thank you, Matt

By Mohib Zico staff 17 Jun 2020 at 10:27 p.m. CDT

Mohib Zico gravatar
Hello Matt, Under "Integration Guide", we have tried to list couple of well known SSO configuration POC setup. It should be good to start I believe for you. >> I have created a site outside of the Wordpress one in PHP and was wondering if it was possible to actually integrate that same SSO style into my own site? Possible. First you need to find out if there is any openid connect plugin for PHP site or not. If there is plugin, you can put that infront of your php site.... that plugin would connect with Gluu Server.

By Matthew Perper user 18 Jun 2020 at 1:37 p.m. CDT

Matthew Perper gravatar
Hi, thanks for the response. I looked into this and found a client and this is exactly what I was looking for, however I am getting odd errors. See the below pictures. The Gluu admin page matches the parameters as well and I am not getting a valid token response. Javascript client home page: https://ibb.co/J2QHXgQ Error message after clicking authenticate: https://ibb.co/gjvQMnj Gluu Settings on Admin UI: https://ibb.co/JKw8wBP Edit: I have also tried this with dynamic client registration and I get the same result when the client is actually registered.