StudentAffairsUWM / Laravel-Shibboleth-Service-Provider

Shibboleth Authentication for Laravel
https://packagist.org/packages/saitswebuwm/shibboleth
30 stars 37 forks source link

Issue running composer update #10

Closed delahappy closed 9 years ago

delahappy commented 9 years ago

My app is on laravel 4.2. I have it working with shibb in dev but when I try to install it on my prod server I am getting an error. I am trying to run composer update but it fails with the error below. Any idea of how to resolve this dependency?

Your requirements could not be resolved to an installable set of packages.

Problem 1

saits-webteam commented 9 years ago

Use version 0.5.6 of this plugin for Laravel 4.2

Sent from my iPhone

On Mar 11, 2015, at 1:03 PM, delahappy notifications@github.com<mailto:notifications@github.com> wrote:

My app is on laravel 4.2. I have it working with shibb in dev but when I try to install it on my prod server I am getting an error. I am trying to run composer update but it fails with the error below. Any idea of how to resolve this dependency?

Your requirements could not be resolved to an installable set of packages.

Problem 1

Reply to this email directly or view it on GitHubhttps://github.com/StudentAffairsUWM/Laravel-Shibboleth-Service-Provider/issues/10.

delahappy commented 9 years ago

Thanks, I am able to update now. I have another question. I can see in my shib logs that I am retrieving the attributes after authentication, however, when I debug the ShibbolethController, the $_SERVER array does not contain them. Any idea where the handoff of those attributes could be failing?

saits-webteam commented 9 years ago

Sorry about the delay in responding.

Don’t check the server array. I believe Laravel has a function to get server variables… Request::server(‘eppn’) … Give that a try. For some reason, Laravel does something weird with the $_SERVER variables.

Christopher Maio – Lead Developer Student Affairs IT Services - Bolton 288 Division of Student Affairs University of Wisconsin-Milwaukee (414) 979-9570

From: delahappy Reply-To: StudentAffairsUWM/Laravel-Shibboleth-Service-Provider Date: Wednesday, March 11, 2015 at 2:37 PM To: StudentAffairsUWM/Laravel-Shibboleth-Service-Provider Cc: saits-webteam Subject: Re: [Laravel-Shibboleth-Service-Provider] Issue running composer update (#10)

Thanks, I am able to update now. I have another question. I can see in my shib logs that I am retrieving the attributes after authentication, however, when I debug the ShibbolethController, the $_SERVER array does not contain them. Any idea where the handoff of those attributes could be failing?

— Reply to this email directly or view it on GitHubhttps://github.com/StudentAffairsUWM/Laravel-Shibboleth-Service-Provider/issues/10#issuecomment-78353397.

delahappy commented 9 years ago

I checked the Request::server("mail") and the attribute isn't there either. I have this working on our redhat dev machine but we started using ubuntu and for some reason the attributes aren't passing to laravel on that server. Any ideas where I should check for the problem?

Thanks for your help.

delahappy commented 9 years ago

Actually I found that there was an issue with the apache shib mod configuration. Thanks again for your help.