Discussions
Using the API to retrieve a Bearer Token - 403 Forbidden
over 5 years ago by Justin Lichtle(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!