Preconditions
I updated Architect to master 7147 and docker as well.
Steps to reproduce
- I was trying to log into User Interface.
- I put login and password, pressed “Přihlásit”.
Expected result
I will be logged in.
Current result
A text “Objevila se neočekávaná chyba. Kontaktujte prosím podporu.” has appeard and it is not possible to enter the User Interface.
The error in Docker:
2021-04-14 14:48:01,628 [38] ERROR Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware - An unhandled exception has occurred while executing the request.
System.ArgumentException: Column ‘SessionId’ does not belong to table OrigamIdentityGrant.
at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRowExtensions.SetField[T](DataRow row, String columnName, T value)
at Origam.ServerCore.Authorization.PersistedGrantStore.StoreAsync(PersistedGrant grant) in D:\a\1\s\Origam.ServerCore\Authorization\PersistedGrantStore.cs:line 82
at IdentityServer4.Stores.DefaultGrantStore1.StoreItemAsync(String key, T item, String clientId, String subjectId, String sessionId, String description, DateTime created, Nullable
1 expiration, Nullable1 consumedTime) at IdentityServer4.Stores.DefaultGrantStore
1.CreateItemAsync(T item, String clientId, String subjectId, String sessionId, String description, DateTime created, Int32 lifetime)
at IdentityServer4.ResponseHandling.AuthorizeResponseGenerator.CreateCodeFlowResponseAsync(ValidatedAuthorizeRequest request)
at IdentityServer4.ResponseHandling.AuthorizeResponseGenerator.CreateResponseAsync(ValidatedAuthorizeRequest request)
at IdentityServer4.Endpoints.AuthorizeEndpointBase.ProcessAuthorizeRequestAsync(NameValueCollection parameters, ClaimsPrincipal user, ConsentResponse consent)
at IdentityServer4.Endpoints.AuthorizeCallbackEndpoint.ProcessAsync(HttpContext context)
at IdentityServer4.Endpoints.AuthorizeCallbackEndpoint.ProcessAsync(HttpContext context)
at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService)
at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService)
at IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)