• Resolved nchemicals

    (@nchemicals)


    I have an issue that may not pertain directly to this plugin but was wondering if any one has an idea.

    I want to use this plugin but I am serving my website via NGINX. I have compiled NGINX with the required modules and it connects to the Shibboleth provider. I am able to generate a session, login and logout. The problem is that the plugin is not able to take the session variables and create an account. Instead when I attempt to login it always loops back to the shibboleth authentication.

    I think the problem is that NGINX does not put the Shibboleth variables in the header. Does anyone have any tips on how I could do this or debug this further?

    Any help would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi –

    I’m having a similar problem and just put up a post on this site. After looking through the code, I think there is a problem with how the Shibboleth v1.8 code uses getenv() to read the environment variables vs. v1.7’s use of $_SERVER. That or PHP v5.x on our site isn’t doing something right with getenv(). Hoping the developers can review and comment/fix soon.

    So it may not be NGINX per se. Do you have access to the Shibboleth v1.7 plugin? Reverting back to that helped my situation.

    Thread Starter nchemicals

    (@nchemicals)

    No it doesn’t have anything to do with the Shibboleth plugin version. It never worked in the first place for me.

    I can dump the $_SERVER to see the headers but they don’t include anything related to shibboleth. In the NGINX config I can put my own custom text in those headers but not the shibboleth data. The part where NGINX gets that information from the Shibauth is not working.

    Plugin Author michaelryanmcneill

    (@michaelryanmcneill)

    Hello @nchemicals, are you using the nginx-http-shibboleth module for Shibboleth integration in Nginx? Also, can you please cross-post your issue to GitHub?

    Thread Starter nchemicals

    (@nchemicals)

    Hi @michaelryanmcneill, thank you for taking up this project. I am using the nginx-http-shibboleth module for Shibboleth. I will cross post to the Shibboleth plugin Github but maybe I am better off posting in the nginx-http-shibboleth Github? I am fairly new to Shibboleth so I am not exactly sure which part is causing the issue.

    Plugin Author michaelryanmcneill

    (@michaelryanmcneill)

    Per the GitHub issue, this issue was unrelated to the plugin and has been resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘NGINX & Shibboleth’ is closed to new replies.