Open RudiThoeni opened 2 years ago
@RudiThoeni Ok we got some bug and I'm going to fix it. In any case I'd like to mention again that:
- the access token duration is 5 minutes and the refresh token duration is 60 minutes on the testing machine and 120 in the production one. For the testing machine these kind of durations are fine; but we think that on production they must be incremented/refresh token that never expires; otherwise, logged user will be automatically logged out.
https://github.com/noi-techpark/it.bz.noi.community/issues/18
@matax87 i have to investigate more on this, how this is done normally......... maybe for this iteration we let it as it is.... and the user has do to re-login if the refresh token expires.... maybe we can increase the refresh_token validity, but setting it to never expires i think is not optimal.........
Describe the bug When accessing on "My Account" an error message "impossibile caricare i dati del profilo" appears. I logged in yesterday and retried today.... Yesterday i tried to do a login / logout and everything worked, seems like if some time passes some token gets invalid?
To Reproduce Steps to reproduce the behavior:
Expected behavior Profile should be loaded, Logout should be possible
Screenshots
Please complete the following information:
it
More
section under the NOI logo): 1.0 (20220525144829)