These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Using the API to retrieve a Bearer Token - 403 Forbidden

(edited)

I am trying to retrieve a bearer token from a PHP Wordpress plugin. I know that my code works because I can get a token using the SDK Demo. But whenever I try to use my real URL, I get a 403 Forbidden error.

Following the instructions here, I created an application user in iMIS with the remote service role. But when I use those credentials, I still get a 403 error.

I am new to iMIS, so I am assuming I am just missing some setting or that I didn't apply the Remote Service role correctly. Any help is appreciated. Thanks!