stormpath / express-stormpath

Build simple, secure web applications with Stormpath and Express!
http://docs.stormpath.com/nodejs/express/
Apache License 2.0
325 stars 111 forks source link

400 error with okta-test-data.js #616

Closed mdeggies closed 7 years ago

mdeggies commented 7 years ago

The script worked for me previously, and successfully created test data in Okta. Within the past 2 days, when running node ./node_modules/express-stormpath/util/okta-test-data.js --apiToken=$OKTA_APITOKEN --org=$OKTA_ORG, I'm getting the following error:

ResourceError: HTTP 400, Okta E0000001 (E0000001): Api validation failed: actions.scopes. actions.scopes: Cannot add scopes to 'action.scopes', add to 'conditions.scopes.include' instead.
robertjd commented 7 years ago

This should now be fixed in RC4