Coder Social home page Coder Social logo

django-cas's People

Contributors

agrausem avatar db4y avatar dotmobo avatar dstegelman avatar gafhyb avatar gpennington avatar muchrons avatar t0mab avatar tschlecht avatar xyolojr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

django-cas's Issues

Problem with Gateway in Python3.X

File : django_cas/views.py in _service_url L.51
Problem : can only concatenate list (not "generator") to list

Fixed by :

  • L.43 query_list = query_dict.items()
    +L.43 query_list = list(query_dict.items())

Ability to disable cas authentication for the admin application

Problem

Previously, the CAS_ADMIN_PREFIXshould be used to enable / disable the cas authentication for the admin application. It is not working and cas authentication can't be disabled.
This setting must be a string representing the base path to the admin interface configured in url patterns.

Suggestion

CAS_ADMIN_PREFIX should be deprecated in favor of a new parameter called CAS_ADMIN_AUTH. This new parameter must be a boolean and is true by default. That won't break previous configuration in Django projects. When the parameter is false, the default login page should be displayed to allow users to authenticate to the admin application. However, users must be able to access directly to the cas authentication within this page. A link should be therefore displayed.

No redirect page after logout

File : django_cas/views.py in _logout_url L.104
change :
url += '?' + urlencode({'url': protocol + host + next_page})
By :
url += '?' + urlencode({'service': protocol + host + next_page})
Seems to fix this problem
Is-it possible to add some REDIRECT_FIELD_NAME_AFTER_CAS_LOGOUT or something like that to permit redirect after logout in CAS ?
Thanks and regards

Django 2.x support ?

Hi,

I try to use this module with Django 2.x and it's not working.

Any plan to support Django 2.x ?

Error exemple :
    if request.user.is_authenticated() => request.user.is_authenticated:

MiStErLu

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.