Expired token for Email/Password Authentication using Mongodb-stitch JS API

匆匆过客 提交于 2019-12-24 07:48:51

问题


I have a mongodb altas cluster on cloud.mongodb.com.

As per the instructions in https://docs.mongodb.com/stitch/auth/email-auth/ I was able to register an email/password pair. About 12 hours later I received the confirmation email. I visited the link in the confirmation email yet 12 hours later. Chrome browser developer tools tells me that the server returned HTTP 400 and body:

{"error": "the token is expired or invalid"}

I think the token has expired, but when I tried to register the same email again, the server returned HTTP 409 and body:

{"error": "name already in use"}

So if the token expires, is there a way I can register it again?

来源:https://stackoverflow.com/questions/47352830/expired-token-for-email-password-authentication-using-mongodb-stitch-js-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!