Am getting this error when trying to log out user via the sso logout endpoint both on postman and on the site.
Production logs say there is a route error. Have double checked that the api username and key are correct. Am able to get the same code to work on development env but not in production.
Have tried revoking and re-creating the api key several times to no avail. Have tried both putting params in header and sending them as query params as well.
Here is the production log output:
Started POST “/admin/users/2/log_out?api_username=dev&api_key=[FILTERED]” for 188.8.131.52 at 2020-05-26 01:37:17 +0000
ActionController::RoutingError (No route matches [POST] “/admin/users/2/log_out”)
Does something special need to be done to have the api key picked up in production?