diff --git a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Feijuca.Keycloak.MultiTenancy.csproj b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Feijuca.Keycloak.MultiTenancy.csproj
index 76dc14b..7533751 100644
--- a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Feijuca.Keycloak.MultiTenancy.csproj
+++ b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Feijuca.Keycloak.MultiTenancy.csproj
@@ -14,6 +14,7 @@
keycloak
MIT
1.2.0
+ Felipe Mattioli
diff --git a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/AuthService.cs b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/AuthService.cs
index 6fb2896..dc50c1b 100644
--- a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/AuthService.cs
+++ b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/AuthService.cs
@@ -31,6 +31,11 @@ public string GetClientId()
return _authSettings.ClientId!;
}
+ public string GetClientSecret()
+ {
+ return _authSettings.ClientSecret!;
+ }
+
public Realm GetRealm(string realmName)
{
return _authSettings.Realms.FirstOrDefault(r => r.Name == realmName)!;
diff --git a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/IAuthService.cs b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/IAuthService.cs
index d079ee2..6303ab1 100644
--- a/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/IAuthService.cs
+++ b/src/Feijuca.Keycloak.Auth.MultiTenancy/Feijuca.Keycloak.MultiTenancy/Services/IAuthService.cs
@@ -6,6 +6,7 @@ public interface IAuthService
{
string GetTenantFromToken();
string GetClientId();
+ string GetClientSecret();
Realm GetRealm(string realmName);
Guid GetUserFromToken();
}