Skip to content

christianponzoni-quix/Anto.AspNet.Security.OAuth.Keycloak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anto.AspNet.Security.OAuth.Keycloak

Install

<PackageReference Include="Anto.AspNet.Security.OAuth.Keycloak" Version="0.0.1" />

Add to services

            context.Services
                .AddAuthentication()
                .AddKeycloak(options =>
                {
                    options.SignInScheme = IdentityConstants.ExternalScheme;
                    options.ClientId = "yourclientid";
                    options.ClientSecret = "yoursecret";
                    options.BaseUrl = "{domain}/auth/realms/{realmname}";
                    options.SaveTokens = true;
                })

About

Keycloak OAuth provider for dotnet core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%