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

Displayed error when i use Costome OAuth . #4222

Closed
is984 opened this issue Sep 7, 2016 · 1 comment
Closed

Displayed error when i use Costome OAuth . #4222

is984 opened this issue Sep 7, 2016 · 1 comment

Comments

@is984
Copy link

is984 commented Sep 7, 2016

Your Rocket.Chat version: (0.39.0)
1,Setup Microsoft OAuth.
2,use it
3, displayed error Internal Server Error and return login screen
Server Log
W20160907-11:20:05.756(9) (oauth_server.js:398) Error in OAuth Server: The dotted field '@odata.context' in '[email protected]' is not valid for storage.
I20160907-11:20:06.249(9) Exception while invoking method 'login' MongoError: The dotted field '@odata.context' in '[email protected]' is not valid for storage. at Object.Future.wait (/usr/local/src/Rocket.Chat/programs/server/node_modules/fibers/future.js:398:15) at [object Object]. (packages/meteor/helpers.js:119:1) at [object Object].MongoConnection.(anonymous function) as update at [object Object].Mongo.Collection.(anonymous function) as update at [object Object].Mongo.Collection.upsert (packages/mongo/collection.js:624:1) at Object.OAuth._storePendingCredential (packages/oauth/pending_credentials.js:56:1) at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:15:1) at middleware (packages/oauth/oauth_server.js:173:1) at packages/oauth/oauth_server.js:146:1 - - - - - at Object.toError (/usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11) at /usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:577:27 at /usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1197:7 at /usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1905:9 at Server.Base._callHandler (/usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41) at /usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18 at [object Object].MongoReply.parseBody (/usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5) at [object Object]. (/usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20) at [object Object].emit (events.js:95:17) at [object Object]. (/usr/local/src/Rocket.Chat/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)

What shall do i ?

@geekgonecrazy
Copy link
Contributor

Please see: #6809 a wonderful guide posted there by a community member for integrating with microsoft.

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

No branches or pull requests

3 participants