Giter Club home page Giter Club logo

laravel-saml's People

Contributors

dansingerman avatar henrist avatar jeremyfrench avatar robertyearwood avatar tmountjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-saml's Issues

stuck on following step

Your SimpleSamlPHP SP install path

'sp_path' => app_path()."/../../sp",

What exactly do I need to do here?

Do I need to separately download SimpleSAMLPHP and point to the location of its source files?

setup instructions and use

I tried following the setup as listed in the readme but found it didn't quite line up with my installation. I'm running Laravel 4.1.25. Here's what I found:

  • 'KnightSwarm\DevTest\DevTestServiceProvider' doesn't exist anywhere; instead, in my app/config/app.php file, I added 'KnightSwarm\LaravelSaml\LaravelSamlServiceProvider' as the provider.
  • There was no facades array in that file, but there is an aliases array that looks like it does the same thing. I added 'SimpleSaml' => 'KnightSwarm\LaravelSaml\Facades\SimpleSaml' to that array.
  • The artisan command wouldn't run for me; probably should be php artisan config:publish knight-swarm/laravel-saml (single colon instead of double).
  • I think app/config/packages/knight-swarm/laravel-saml/saml.php is wrong - there's a ps_path that should be sp_path.

Once I got everything set up (not even sure if it's right, but it looks good), I added an auth to an existing route:

Route::get('/phpinfo', 'ExampleController@phpinfo');
Route::get('/phpinfosecure', array('before' => 'auth'), 'ExampleController@phpinfo');

The non-secured one works just fine; the secured one, however, returns an error: "Class 'Saml' not found." The file that's returning the error is vendor/knight-swarm/laravel-saml/src/KnightSwarm/LaravelSaml/Account.php, line 20: return Saml::isAuthenticated();. I'm not familiar enough with Laravel to know if this is a problem with how I installed the package, or a namespacing problem, or what. Any help tracking this down would be greatly appreciated.

"Your requirements could not be resolved to an installable set of packages." (laravel 5)

I got this error message when running composer update with Laravel 5, not 4. A little investigation into it, would seem it's trying to load different versions of Support?

"illuminate/support": "~4.1"

..but my project is requiring Laravel 5. Is there any way around this? Does the provider not work in 5 yet?

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

  Problem 1
    - Conclusion: don't install laravel/framework v5.0.27
    - Conclusion: don't install laravel/framework v5.0.26
    - Conclusion: don't install laravel/framework v5.0.25
    - Conclusion: don't install laravel/framework v5.0.24
    - Conclusion: remove laravel/framework v5.0.23
    - Conclusion: don't install laravel/framework v5.0.23
    - Conclusion: don't install laravel/framework v5.0.22
    - Conclusion: don't install laravel/framework v5.0.21
...

Getting a BadMethodCallException on PHP Artisan on Laravel 5

Hi,

Thanks for writing a good package for SAML but I need to know if the package is good for Laravel 5 too?

I am getting BadMethodCalException on PHP Artisan when I run this "php artisan config:publish knight-swarm/laravel-saml"

"call to undefined method [package]"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.