Giter VIP home page Giter VIP logo

Comments (5)

bcail avatar bcail commented on May 23, 2024

Normally what we do with this package is to have the whole site protected by Shib, even if a valid session isn't required for every page. So, for example, we would have something like this:

<Location /pennkey>
    AuthType shibboleth
    Require valid-user
    ShibRequireSession on
  </Location>

  <Location /Shibboleth.sso>
    SetHandler shib
  </Location>

<Location />
    AuthType shibboleth
    ShibRequireSession off
    Require Shibboleth
  </Location>

Does that fix the issue for you? If it does, would you still need a different solution, or are you OK with that?

from django-shibboleth-remoteuser.

FlipperPA avatar FlipperPA commented on May 23, 2024

Just FYI, I haven't forgotten this. This got us part of the way there, but we're working on a solution which may help others. We're working on protecting a single Django URL route with Shib, then allowing Django's login_required() to handle the rest. We're also including an example where anything with login_required() is protected by Shib, but a single URL route/view uses Django's auth instead.

I'll post it here when we get it, and issue a PR for the README, in case it might help. Thanks for all your efforts!

from django-shibboleth-remoteuser.

bcail avatar bcail commented on May 23, 2024

Great!

from django-shibboleth-remoteuser.

bcail avatar bcail commented on May 23, 2024

Please try the latest code with PR #43, and see if that helps this issue.

from django-shibboleth-remoteuser.

jrhoads avatar jrhoads commented on May 23, 2024

@FlipperPA and @bcail is this still an active issue?

from django-shibboleth-remoteuser.

Related Issues (20)

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.