hi
Can you share the backend project?
I can't see the error stack in the angular app.
Thanks.
hi
Can you share a test project with liming.ma@volosoft.com
Thanks.
hi
Can you share your email configuration?
liming.ma@volosoft.com
I will test it in 9.0.4
hi
You can test your email configuration by this sample.
Thanks.
https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo
hi
Please check and share the Debug logs of this reqeust.
https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems
hi
how can I programmatically revoke user sessions?
There are few method to revoke session in IdentitySessionManager
, You can inject it then call the revoke method.
RevokeAsync(Guid id)
RevokeAsync(string sessionId)
RevokeAsync(IdentitySession session)
RevokeAllAsync(Guid userId, Guid? exceptSessionId = null)
RevokeAllAsync(Guid userId, string device, Guid? exceptSessionId = null)
hi
To reproduce as I noticed: you wait (without any actions somtimes) till Token expired but not the cookie,
The CheckTokenExpiration
method will check your access_token. It will log out the cookies if the token is invalid.
Can you set a breakpoint on this method to see what happened?
https://github.com/abpframework/abp/blob/3616e843cfdee671317941fe5b478c1c8bd180df/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs#L37-L77
Thanks.
Many Thanks Giuseppe