Hi All,
My environment:
- SuiteCRM Version used: 7.10.33
- Environment name and version: PHP 7.4
- Operating System and version: Ubuntu 20.04 (on both vps’s - nextcloud and SuiteCRM)
Module: https://github.com/eneiluj/integration_suitecrm
Have followed the instructions from SuiteCRM side, i.e.:
- Create openSSL private and public keys (and have checked that they’re created in directory expected)
- Went to the “OAuth2 Clients and Tokens” admin settings section and create a “new password client” - All good - have created client-id and secret.
On nextcloud side:
- Admin → settings → connected accounts: Input client-id and secret along with domain of installation.
When attempting to use a user’s login from nextcloud to login and get an access_token, none seems to be created in SuiteCRM.
I get the following response…
SuiteCRM OAuth error : Client error:
POST https://***************.com/Api/access_tokenresulted in a
404 Not Found response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found (truncated...)
…and in the server file location: /var/www/html/SuiteCRM-7.10.33/Api/ there’s no “access_token” of any description.
Am I missing out any obvious gotcha mistakes here?
Any ideas gratefully received.
All the best, Paul