Skip to content

A repository to show how to connect umbraco CMS with KeyCloak

Notifications You must be signed in to change notification settings

robert-bialy/umbraco-keycloak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Umbraco.Keycloak Showcase

The project shows how to add Keycloak as external identity provider for Umbraco backoffice.

It includes pieces of code from Umbraco's official help documents which you can find here.

Requirements

  • Any IDE (Visual Studio / Rider)
  • .NET 8.0

Important notes

The repository utilizes the NuGet package AspNet.Security.OAuth.Keycloak for connecting to Keycloak. It's extremely important to specify the Keycloak version in the configuration.

Starting with version 18.0, Keycloak has shifted to a different endpoint for authorization. This change caused me a lot of headaches, so please be aware of it.

Usage

To use this repository, after you setup a project, you need to populate configuration with your Keycloak details.

Please fill appsettings.json with your Keycloak details:

"Keycloak": {
    "BaseAddress": "{keycloak-address}",
    "ClientId": "{client-id}",
    "ClientSecret": "{secret}",
    "Realm": "{your-realm}",
    "Version": "{keycloak-version}"
}

About

A repository to show how to connect umbraco CMS with KeyCloak

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages