惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
U
Unit 42
aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
M
MIT News - Artificial intelligence
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
IT之家
IT之家
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News

博客园 - 坤坤

一步步教学在 Windows 下面安装 pytorch3d 来部署 xuniren 这个项目 python 学习笔记 nginx 相关配置 复制id_rsa命令 macOS Sierra 如何卸载.net core 版本 REMOTE HOST IDENTIFICATION HAS CHANGED! 认识 SSH 密钥对 WebViewJavascriptBridge的使用说明 - 坤坤 - 博客园 终于把eShopOnContainer部署成功了。 js 正则表达式验证网站域名 Windows 版本的iTunes 修改iPhone的备份路径 - 坤坤 EPSON LQ610K 设置税控盘打印发票的格式 Bootstrap 3 Datepicker 使用过程 拜访优达学城上海总部 ipad pro 文章 探寻阿里云服务器迈入2.0时代的技术要点 体验阿里云SSD云盘+ECS(I/O优化)的性能 在iOS中使用OpenSSL的Public Key 进行加密 使用FIR.im发布自己的移动端APP
遇到了个问题
坤坤 · 2019-09-17 · via 博客园 - 坤坤

nginx 反向代理后,服务器生成的邮件验证码,不匹配的问题。

参考资料:http://www.gunaatita.com/Blog/Invalid-Token-Error-on-Email-Confirmation-in-Aspnet-Identity/1056

Reason #2 : The Confirmation token (UserManager.GenerateEmailConfirmationToken) is generated on one server and the mail confirmation code is on another server.

Solution : As confirmation token is generated using machine key and security stamp, so the machine key should be consistent on both server. So add same machineKey under system.web in configuration file of both the application as below:

<system.web>

</system.web>