Git Product home page Git Product logo

Comments (4)

paulwinex avatar paulwinex commented on September 25, 2024

Hi Jagadesh! Did you fix your problem? I have the same error after I replaced the standard user with custom EmailUser.

from django-simple-sso.

jagadeshbabut avatar jagadeshbabut commented on September 25, 2024

@paulwinex I couldn't spend time triaging this issue. But, I have created my own sso-idp & sso-sp applications and used it for a closed source project.

from django-simple-sso.

gmdzy2010 avatar gmdzy2010 commented on September 25, 2024

@paulwinex your problem maybe fixed by changing the source code of client, at line 116.

the client application use django's default user django.contrib.auth.models.User, I 'd prefer to alter those by the method of get_user_model()

from django.contrib.auth import get_user_model()


User = get_user_model()

May these above can help you.

from django-simple-sso.

nijel avatar nijel commented on September 25, 2024

I got this error when server User model is different than what app expects. Unfortunately there is no error logging implemented, so it's hard to figure out.

The following code crashed (because my User model didn't have one of used fields):

https://github.com/aldryn/django-simple-sso/blob/430cd87b8978026947423f290eb189bfd76b9e01/simple_sso/sso_server/server.py#L155-L168

from django-simple-sso.

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.