GetConfiguration Endpoint

This commit is contained in:
Michał Zieliński
2025-03-12 15:47:00 +01:00
parent b7b3bb1b70
commit 48d40be330
4 changed files with 107 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ app.Use(async (context, next) =>
var token = context.Request.Headers.Authorization.ToString();
if (token.Length > 0
&& !context.Request.Path.ToString().Contains("getForPowerBI")
&& !context.Request.Path.ToString().Contains("getConfiguration")
&& !context.Request.Path.ToString().Contains("DataInbox/Add"))
{
var handler = new JwtSecurityTokenHandler();