OpenFn / women-for-women

OpenFn integrations for BambooHR, MS Azure AD, and other systems
0 stars 1 forks source link

Credentials Changed for Integration User. #117

Open danielpasten opened 1 year ago

danielpasten commented 1 year ago

Describe the bug

We changed the credentials for the integration user and have to force MFA on all accounts. Do we need another way of authenticating the graph api?

To Reproduce

  1. Here is a link to a failed run on OpenFn.org wihch is indicative of the bug: https://openfn.org/projects/wfwi-bamboohr/runs/06461d7c-24bf-7034-b78a-d1a4e2b1c043

expression.js

Link to the job itself in Github: https://github.com/OpenFn/women-for-women/blob/master/jobs/production2/upsertUserProd.js

state.json

"body": "{\"error\":\"invalid_grant\",\"error_description\":\"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access
{
  "configuration": ["SEE LAST PASS: 'client cred'"],
  "data": { "a": 1 },
  "cursor": "2020-01-19 00:00:00"
}

Expected behavior

A clear and concise description of what you expected to happen.

To test/resolve

  1. After the desired output is working locally (from the CLI), please [push commits to master || open a pull request].
  2. [Please test the change on OpenFn.org by re-running this run (link) and confirming success.]