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

Token type is not allowed #103

Closed
jim3692 opened this issue Jan 6, 2022 · 1 comment
Closed

Token type is not allowed #103

jim3692 opened this issue Jan 6, 2022 · 1 comment

Comments

@jim3692
Copy link

jim3692 commented Jan 6, 2022

I followed the instructions in SharePoint Online addin only authentication but I am getting this error

Unhandled rejection StatusCodeError: 401 - {"error":"invalid_request","error_description":"Token type is not allowed."}
    at new StatusCodeError ((my project path)/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback ((my project path)/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] ((my project path)/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback ((my project path)/node_modules/request/request.js:185:22)
    at Request.emit (node:events:390:28)
    at Request.emit (node:domain:475:12)
    at Request.<anonymous> ((my project path)/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:390:28)
    at Request.emit (node:domain:475:12)
    at IncomingMessage.<anonymous> ((my project path)/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:509:28)
    at IncomingMessage.emit (node:events:402:35)
    at IncomingMessage.emit (node:domain:475:12)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
@jim3692
Copy link
Author

jim3692 commented Jan 6, 2022

similar to #70

@jim3692 jim3692 closed this as completed Jan 6, 2022
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

1 participant