79736237

Date: 2025-08-15 08:36:30
Score: 1
Natty:
Report link

Following the link from Tore and inspecting the ProtocolMessage properties, I managed to manually set the redirect url.

I've added this under .AddOpenIdConnect:

config.Events.OnRedirectToIdentityProvider = context =>
{
    context.ProtocolMessage.RedirectUri = "https://TestWebsite.co.uk/ids/signin-oidc";
    context.ProtocolMessage.IssuerAddress = "https://TestWebsite.co.uk/ids/connect/authorize";
    return Task.CompletedTask;
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kamil Kos