hi
You can try this:
Configure<IdentityServerOptions>(builder =>
{
builder.InputLengthRestrictions.Scope = 1000000;
});
https://identityserver4.readthedocs.io/en/latest/reference/options.html#inputlengthrestrictions
hi
I can check it remotely tomorrow.
UTC+8 9:00-12:00 13:00-18:00
You can email me liming.ma@volosoft.com
hi
This is related to OAuth2
https://oauth.net/2/grant-types/password/
hi
You can get access_token from AuthServer/IdentityServer and then carry the token to call the API.
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