skip to Main Content

Asp.net – "IDX10500: Signature validation failed." error with self-hosted KeyCloak and API Gateway Ocelot

So as stated in the title, I am having issues with the token validation in dotnet application. Here is the program.cs code: using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.IdentityModel.Tokens; using Ocelot.DependencyInjection; using Ocelot.Middleware; var builder = WebApplication.CreateBuilder(args); // Add configuration for Ocelot builder.Configuration.AddJsonFile("ocelot.json",…

VIEW QUESTION

Amazon web services – How do I make JWT read "n" as a new line instead of a literal in a container on EC2?

I have the key -----BEGIN PRIVATE KEY-----nnwb945yptghjs8hg45954hg945hn/gsnohuoi5gh549usgh5498gh4p95sognosgn54ui3ghns459uigh54g98s45ghy4598ngkeot84n-----END PRIVATE KEY----- (for illustration purposes) and when running jws.sign() on my home computer it works as expected. However, when I store the secret in AWS Secrets Manager and retrieve it in a container…

VIEW QUESTION
Back To Top
Search