In trying to setup the oauth authorization flow, I am getting a 405 on the preflight request to /oauth/tokens. I have quadruple checked my code against the docs and examples (https://support.zendesk.com/hc/en-us/articles/4408845965210-Using-OAuth-authentication-with-your-application?page=2#comments), but no success.
Am I missing something in understanding what Zendesk expects to grant an access token? For example, am I running into errors because my origin is http://localhost:8081(i.e. not https)? Is there a way to avoid the sending a preflight with the OPTIONS method that's returning the 405?
I understand this may likely not be an issue with Zendesk, but advice on where else to look would be great appreciated.