[shib_auth] Shib_Auth with Drupal + Nginx?

Kristof Bajnok bajnokk at niif.hu
Fri May 13 09:42:14 CEST 2016


On 2016/05/12 19:39, Michael MacDonald wrote:
> Has anyone attempted to use this module with Nginx + Drupal?

Unfortunately I haven't.

> I've got Nginx setup with Shibbolith based on this configuration:
> https://github.com/nginx-shib/nginx-http-shibboleth
> 
> I'm able to successfully pass UID and MAIL into my headers after a
> successful shibboleth login but I can't get this plugin to successfully
> work with Nginx.
> 
> After a successful login, it redirects to q=shib_login/user and I get
> Access Denied.  You are not authorized to access this page.  

AFAIK this message is not thrown by shib_auth. Do you know whether it is
thrown by the web server (403) or by Drupal? Because you say you are
logged in I assume shib_auth gets the relevant attributes, therefore it
creates the user entry in the database, right? If yes, the problem is
that the session creation (the work that is done by
user_external_login_register) fails for some reason.

Anyway, a DEBUG output might help to better understand the problem.

Kristof



More information about the shib_auth mailing list