Write API Connection

Hi all — working on integrating an app with the Write API to contribute nutrition data for products missing from OFF.

Quick question: is the staging test account (off/off on world.openfoodfacts.net) still active? We’re getting “Incorrect user name or password” on /cgi/product_jqm2.pl with those credentials. We noticed the site now links to /cgi/oidc_signin.pl for sign-in, so wondering if this is related to a move to OIDC/Keycloak auth and if the old static test account was retired as part of that.

Our real registered account authenticates fine on production (world.openfoodfacts.org) via basic auth, so it seems isolated to staging specifically. If off/off is deprecated, what’s the current recommended way to test write operations (nutriments via product_jqm2.pl, or the v3 PATCH endpoint) without touching production data? Thanks!

Mike

Hi Mike, I think you got the answer on Slack already (or found it yourself), but answering here as well if someone else sees it.

Staging server on openfoodfacts.net is still active, the (off off) username and password are for an extra basic auth layer (to prevent the site from being crawled), you also need to create your own user on openfoodfacts.net and send credentials for it.