NERC-CEH / fit-count-app

Fit Count App & Website
Apache License 2.0
0 stars 0 forks source link

Previous user sessions no longer recognised #99

Closed kazlauskis closed 6 months ago

kazlauskis commented 2 years ago

All previous user sessions for some reason are rejected from the upgraded Drupal 9 site. This means all users have to re-login to start uploading the data again.

kazlauskis commented 2 years ago

@BirenRathod I know you have pushed some fixes to the simple_oauth module which is good but something else seems still wrong as the previous refresh tokens are rejected by the new site. Do you know what else could be wrong?

kazlauskis commented 2 years ago

@BirenRathod could you upgrade the module to the latest version (5.0.4?) in the dev environment?

BirenRathod commented 2 years ago

@kazlauskis I have upgraded to its latest version.

BirenRathod commented 2 years ago

@BirenRathod I know you have pushed some fixes to the simple_oauth module which is good but something else seems still wrong as the previous refresh tokens are rejected by the new site. Do you know what else could be wrong?

The only error, it produces is this -> User notice: Key file "file:///files/private/public.key" permissions are not correct, recommend changing to 600 or 660 instead of 770 in League\OAuth2\Server\CryptKey->__construct() (line 80 of /code/vendor/league/oauth2-server/src/CryptKey.php)