Keycloak
Installation
dotnet add package Dosaic.Plugins.Authorization.Keycloak<PackageReference Include="Dosaic.Plugins.Authorization.Keycloak" Version="" />Appsettings.yml
keycloak:
enabled: true #whenever the whole plugin should be active or not
host: host.example #keycloak host url
insecure: false i used protocol https vs http
realms:
prefix: '/realms/' # url prefix which should be used before the realm
policies: # policies which should be available within the service/application
- name: READ
roles:
- API_PERMISSIONS_READ
- name: WRITE
roles:
- API_PERMISSIONS_WRITEUsage
Last updated