FIWARE-TMForum / business-ecosystem-logic-proxy

Business Logic Layer for the TMForum Frameworx APIs + Portal to access them in an easy way
Other
5 stars 25 forks source link

InvalidScopeError #165

Open ibstelix opened 5 years ago

ibstelix commented 5 years ago

Hello dear support, 2 weeks i am struggling to get work Biz Ecosystem with my local fiware-idm. It's working perfectly with the online lab but not with my local fiware-idm.

I changed in server.js scope: ['all_info'] to scope: ['permanent'] to make it work. Is it a good solution ?

invalid_scope: Invalid scope: Requested scope is invalid at new InvalidScopeError (/opt/fiware-idm/node_modules/oauth2-server/lib/errors/invalid-scope-error.js:25:14) at /opt/fiware-idm/node_modules/oauth2-server/lib/grant-types/abstract-grant-type.js:117:17 at tryCatcher (/opt/fiware-idm/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/opt/fiware-idm/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/opt/fiware-idm/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromiseCtx (/opt/fiware-idm/node_modules/bluebird/js/release/promise.js:606:10) at Async._drainQueue (/opt/fiware-idm/node_modules/bluebird/js/release/async.js:138:12) at Async._drainQueues (/opt/fiware-idm/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues (/opt/fiware-idm/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:810:20) at tryOnImmediate (timers.js:768:5) at processImmediate [as _immediateCallback] (timers.js:745:5) statusCode: 400, status: 400, code: 400, message: 'Invalid scope: Requested scope is invalid', name: 'invalid_scope'

fdelavega commented 5 years ago

What version of the IDM are you using?

ibstelix commented 5 years ago

What version of the IDM are you using?

Hello fdelavega thank you, i pulled from master Best regards