Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidScopeError #165

Open
ibstelix opened this issue Jan 14, 2019 · 2 comments
Open

InvalidScopeError #165

ibstelix opened this issue Jan 14, 2019 · 2 comments

Comments

@ibstelix
Copy link

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
Copy link
Contributor

What version of the IDM are you using?

@ibstelix
Copy link
Author

ibstelix commented Feb 1, 2019

What version of the IDM are you using?

Hello fdelavega thank you,
i pulled from master
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants