Giter Club home page Giter Club logo

Comments (5)

pysco68 avatar pysco68 commented on July 26, 2024

Hi Lukas,

Sorry, but I read your issue three times, and fail to see what your issue is. You're stating a number of facts, but none seem to be an error to me. What behaviour do you expect, or what exactly are you trying to achieve?

from pysco68.owin.authentication.ntlm.

lukas-ais avatar lukas-ais commented on July 26, 2024

I expect the domain name with in the user name: "<USERNAME>". This is what windows is creating initially.
I get "", without the domain name, neither in any other property of the identity instance.

from pysco68.owin.authentication.ntlm.

pysco68 avatar pysco68 commented on July 26, 2024

I still don't fully get what the issue is, but would like to point out the OnCreateIdentity callback where you can customize the claims etc... look at the last code block in README.MD

from pysco68.owin.authentication.ntlm.

lukas-ais avatar lukas-ais commented on July 26, 2024

Ok, thanks. This way I change the default behavior.
I'm just wondering on the default. Why the default does not provide domain name in the created identity?

from pysco68.owin.authentication.ntlm.

pysco68 avatar pysco68 commented on July 26, 2024

Well, mainly because this wasn't a requirement. I developed the NTLM authentication provides in a situation with mixed logins (intranet / extranet) and users tend to not be comfortable with having to type in their FQ domain user name when not connecting from within the realm. Plus in most situations the domain part is just implicitly a constant.

from pysco68.owin.authentication.ntlm.

Related Issues (16)

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.