hi
I can check it remotely. My time zone is utc+8.
If you Call getAuthor API of TestApp.HttpApi.Host and get UnAuthorised
You can try to use context.HttpContext.User = newPrincipal; to replace the _currentPrincipalAccessor.Change(newPrincipal);
After getting the token Call getAuthor API with that token ( tenant you can hardcoded) Return author data For me this is giving UnAuthorised exception because of user not loggin in
Call getAuthor API of TestApp.HttpApi.Host or TestApp.AuthServer?
hi
_currentPrincipalAccessor.Change(newPrincipal); will not work. It only works on using scope.
eg:
using(_currentPrincipalAccessor.Change(newPrincipal))
{
//working...
}
hi
You have to create an external sso
I don't have any external sso. can share a test one?
I have to reproduce your exception on my locally.
hi
If you are using OpenIddict:
https://docs.abp.io/en/abp/latest/Modules/OpenIddict#setting-tokens-lifetime
Identity Server :
https://support.abp.io/QA/Questions/373/Prolong-token-lifetime-per-each-request
hi
I saw these two errors.
The first seems to be a network problem.
The second seems to be a DevExtreme problem. You can check your code.
Anyways I don't think the problem is related to abp.
An error occurred using the connection to database 'Pbys' on server '10.1.8.53'.
'Menu' is not a member of type 'Pbys.EmployeeDecrees.EmployeeDecreeRecordDocumentWithNavigationProperties' (Parameter 'propertyOrFieldName')
System.ArgumentException: 'Menu' is not a member of type 'Pbys.EmployeeDecrees.EmployeeDecreeRecordDocumentWithNavigationProperties' (Parameter 'propertyOrFieldName')
at System.Linq.Expressions.Expression.PropertyOrField(Expression expression, String propertyOrFieldName)
at DevExtreme.AspNet.Data.ExpressionCompiler.CompileAccessorExpression(Expression target, String clientExpr, Action`1 customizeProgression, Boolean liftToNullable)
at DevExtreme.AspNet.Data.SortExpressionCompiler.Compile(Expression target, IEnumerable`1 clientExprList)
at DevExtreme.AspNet.Data.DataSourceExpressionBuilder.AddSort()
at DevExtreme.AspNet.Data.DataSourceExpressionBuilder.BuildLoadExpr(Boolean paginate, IList filterOverride, IReadOnlyList`1 selectOverride)
at DevExtreme.AspNet.Data.DataSourceLoaderImpl`1.LoadAsync()
at Pbys.EmployeeDecrees.EmployeeDecreeRecordDocumentsAppService.GetDxListByCurrentUserAsync(DataSourceLoadOptionsBase input) in C:\Pbys\aspnet-core\src\Pbys.Application\EmployeeDecrees\EmployeeDecreeRecordDocumentAppService.cs:line 466
hi
You need to override the account layout in the Http.ApiHost project
hi
I downloaded the code. Any steps?