I’m trying to test out 2.3.1. I updated my docker file to pull down the new zip file for linux. Locally, I’m starting up everything the same as 1.5.21, but I can’t sign in for my localhost environment.
I’m using AzureAD Auth so I got OIDC stuff configured exactly the same as before. But at http://localhost:5000/auth/signin-oidc I get an error (HTTP ERROR 500) after signing into my Azure account. If I go through the sign in process with Dev tools open I can see the POST back to localhost:5000, form data has access_token and id_tokens and are valid along with the other form data.
Errors in the docker/PSU logs.
warn: Microsoft.AspNetCore.Http.ResponseCookies[1]
The cookie ‘.AspNetCore.OpenIdConnect.Nonce.CfDJ8KU45wc21…’ has set ‘SameSite=None’ and must also set ‘Secure’.
warn: Microsoft.AspNetCore.Http.ResponseCookies[1]
The cookie ‘.AspNetCore.Correlation.eh8mPFQ…’ has set ‘SameSite=None’ and must also set ‘Secure’.
warn: Microsoft.AspNetCore.Http.ResponseCookies[1]
The cookie ‘.AspNetCore.Correlation.eh8mPFQMMy6…’ has set ‘SameSite=None’ and must also set ‘Secure’.
warn: Microsoft.AspNetCore.Http.ResponseCookies[1]
The cookie ‘.AspNetCore.OpenIdConnect.Nonce.CfDJ8KU45wc21DJ…’ has set ‘SameSite=None’ and must also set ‘Secure’.
fail: Universal.Server.Services.DashboardManager[0]
Dashboard process is not running. Dashboard may have crashed or failed to start.
fail: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler[17]
Exception occurred while processing message.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.GetUserInformationAsync(OpenIdConnectMessage message, JwtSecurityToken jwt, ClaimsPrincipal principal, AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id “0HMBUK7DNI30I”, Request id “0HMBUK7DNI30I:00000008”: An unhandled exception was thrown by the application.
System.Exception: An error was encountered while handling the remote login.
—> System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.GetUserInformationAsync(OpenIdConnectMessage message, JwtSecurityToken jwt, ClaimsPrincipal principal, AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleRemoteAuthenticateAsync()
— End of inner exception stack trace —
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)