I have successfully authenticated with the custom provider, in my case it is Autodesk. I followed the above documentation and followed additional steps for integration.
- Add
postinstallscript topackage.json: In yourpackage.jsonfile, add the"postinstall": "patch-package"script. This script ensures that patch-package is run automatically after npm installs your dependencies. - Install Dependencies and Patch Changes : After adding the
postinstallscript, runnpm installto install the dependencies and automatically patch any changes using patch-package. - Update Frontend URL Rewrite : Ensure that your frontend makes requests to the appropriate endpoint for the custom provider. In my case, it’s important to call
http://localhost:1337/api/connect/autodeskfor the Autodesk provider. - Ensure that the custom provider’s
GETrequest inproviders-registry.js
matches the provider documentation’s routes.