Silent Authentication with SSO netcore2.1

SSO is working but prompts the user on redirect – The popup contains the users username and password so they just have to click OK to be signed into an application.

I would like to use silent authentication but I can’t find any NetCore2.1 examples that work and older Net samples for silent authentication are obsolete.

Does anyone know what I can add to the startup to redirect the user silently? I tried this but I don’t really understand what it is doing and it doesn’t work.

{
  OnRedirectToIdentityProvider = context =>
    {
      if (context.Properties.Items.ContainsKey("connection"))
                        context.ProtocolMessage.SetParameter("connection", context.Properties.Items["connection"]);

       return Task.FromResult(0);
}
....logout events
}

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?