Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for Kerberos/NTLM authentication #1445

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

Badgerati
Copy link
Owner

Description of the Change

  • Adds the Kerberos.NET NuGet package
  • Adds support for Kerberos/NTLM authentication

Related Issue

Resolves #402

Examples

Start-PodeServer -Threads 2 {
    Add-PodeEndpoint -Address localhost -Port 8080 -Host 'pode.example.com' -Protocol Http
    New-PodeLoggingMethod -Terminal | Enable-PodeErrorLogging

    New-PodeAuthScheme -Negotiate -KeytabPath 'C:\temp\pode-user.keytab' | Add-PodeAuth -Name 'Login' -Sessionless -ScriptBlock {
        param($identity)
        $identity | out-default
        return @{ User = $identity }
    }

    Add-PodeRoute -Method Get -Path '/' -Authentication Login -ScriptBlock {
        Write-PodeJsonResponse -Value @{ result = 'hello' }
    }
}

@Badgerati Badgerati added this to the 2.12.0 milestone Nov 3, 2024
@Badgerati Badgerati self-assigned this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement NTLM Authentication
1 participant