Skip to content

What's needed to support signing in on Linux #13

Description

@mattisking

I've got an application I'm supporting written in .Net Core 2.0 and upgraded to 2.1. The author used this whole UserStore stuff and a SQL Server database for security and role assignments and they used your package to replace some parts of it. I need to move this from a Windows host to a Linux vm and I've found that the use of System.DirectoryServices.AccountManagement in the actual auth call to be a non-starter in Linux. I'm not going to pretend to understand how this is done in .Net Core, only that logging in via that library makes the other code that hits the database and pulls in the user work because once they login the User object is federated with valid claims and all that. I thought maybe if I scraped the ldapusermanager out and used that to try to just call checkpassword that might work and I can certainly login this way, but the rest of the magic doesn't happen. The bits that set the User Identity doesn't happen. I honestly don't know what does that. What pieces would need to be fleshed out here? I'd rather add another class or two and keep things working in the pattern that already exists than scrape all that automation out and make each call myself.

It's been a while so I don't know if you monitor this or not but appreciate it either way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions