- heddn Nicaragua
With the EOL of D7 past, let's close out old stuffs. If this is still an issue in the more modern version, feel free to re-open and document steps to reproduce.
What happens when an API and an API client, who have been getting along great for years, are successfully interacting on assumptions and a Force Password Change comes along one day? Something like this, that's what:
12729789 28/Apr 14:37 warning access denied node/1584478
12729790 28/Apr 14:37 warning access denied user/91/edit
12729791 28/Apr 14:37 warning access denied user/91/edit
12729792 28/Apr 14:37 warning access denied user/91/edit
12729793 28/Apr 14:37 warning access denied user/91/edit
..and all user/91/edit requests are actually something like:
https://www.example.com/user/10490/edit?destination=services/session/token
That's because:
In a nutshell, when the API is hit by a user with Force Password Change pending, rather than the API either ignoring it or having a chance to return a 403 or something in json, Drupal instead redirects the menu routed request from Services REST API endpoint to Drupal page callback from the Force Password Change module.
I've not looked into how to address it yet, but I wanted to post it here in case it's interesting and you have some ideas.
PS: Thanks for the pseudo-mention in #2855070: Allow Drush One-Time Logins to Skip Forced Password Change (Drush Integration) β ;)
Closed: outdated
2.0
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
With the EOL of D7 past, let's close out old stuffs. If this is still an issue in the more modern version, feel free to re-open and document steps to reproduce.