**"When I log in, the system generates an access token with an expiration date set to 1 year, as shown in the log below:
However, it doesn't seem to work correctly. It looks like the default token lifetime is still set to 1 hour. After 1 hour, I lose authorization and have to log in again.
I’ve configured the AccessTokenLifetime like this:
and I also set it in the admin page like this:
I want the token to remain valid for 1 year. How can I make this work?
4 Answer(s)
-
0
hi
It looks like the default token lifetime is still set to 1 hour. After 1 hour, I lose authorization and have to log in again.
Can you enable the debug logs(
Verbose
for openiddict)?https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
-
0
hi
It looks like the default token lifetime is still set to 1 hour. After 1 hour, I lose authorization and have to log in again.
Can you enable the debug logs(
Verbose
for openiddict)?https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
Hi How can i send log to you?
-
0
hi
liming.ma@volosoft.com
-
0
hi
The logs don't show any authorization error. Do you have an API website?
Please share the API logs(
please ShowPII and output identity model logs.
).Thanks.