当前位置: 首页 > article >正文

uniapp uni-id Error: Invalid password secret

 common文件夹下uni-config-center文件夹下新建uni-id,新建config.json文件

 

复制粘贴以下代码,不要自己改,格式容易错 


{"passwordSecret": [{"type": "hmac-sha256","version": 1}], "passwordStrength": "medium", "tokenSecret": "0123456789", "requestAuthSecret": "9876543210", "tokenExpiresIn": 7200, "tokenExpiresThreshold": 3600, "maxTokenLength": 10, "passwordErrorLimit": 6, "passwordErrorRetryTime": 3600, "autoSetInviteCode": false, "forceInviteCode": false, "idCardCertifyLimit": 1, "realNameCertifyLimit": 5, "sensitiveInfoEncryptSecret": "", "frvNeedAlivePhoto": false, "userRegisterDefaultRole": [], "app": { "tokenExpiresIn": 2592000,"tokenExpiresThreshold": 864000,"oauth": {"weixin": {"appid": "","appsecret": ""},"qq": {"appid": "","appsecret": ""},"apple": { "bundleId": ""}}},"web": { "tokenExpiresIn": 7200,"tokenExpiresThreshold": 3600,"oauth": {"weixin-h5": { "appid": "","appsecret": ""},"weixin-web": { "appid": "","appsecret": ""}}},"mp-weixin": {"tokenExpiresIn": 259200,"tokenExpiresThreshold": 86400,"oauth": {"weixin": {"appid": "","appsecret": ""}}},"mp-qq": {"tokenExpiresIn": 259200,"tokenExpiresThreshold": 86400,"oauth": {"qq": {"appid": "","appsecret": ""}}},"mp-alipay": {"tokenExpiresIn": 259200,"tokenExpiresThreshold": 86400,"oauth": {"alipay": {"appid": "","privateKey": "", "keyType": "PKCS8" }}},"service": {"sms": {"name": "", "codeExpiresIn": 180, "scene": {"bind-mobile-by-sms": { "templateId": "", "codeExpiresIn": 240 }}},"univerify": {"appid": "" }}
}

uni-id-co下的common文件夹下也有一个config.json文件,不要改动,uni-id还是调用的common文件夹下uni-config-center文件夹下你自己新建uni-id,所以不要改动这个,不要改动!

 

http://www.lryc.cn/news/2395035.html

相关文章:

  • 用 Appuploader,让 iOS 上架流程真正“可交接、可记录、可复用”:我们是这样实现的
  • 第十二节:第三部分:集合框架:List系列集合:特点、方法、遍历方式、ArrayList集合的底层原理
  • 【办公类-18-07】20250527屈光检查PDF文件拆分成多个pdf(两页一份,用幼儿班级姓名命名文件)
  • AI Agent的“搜索大脑“进化史:从Google API到智能搜索生态的技术变革
  • Arduino学习-跑马灯
  • python创建args命令行分析
  • 2. 手写数字预测 gui版
  • js数据类型有哪些?它们有什么区别?
  • 大模型应用开发第五讲:成熟度模型:从ChatGPT(L2)到未来自主Agent(L4)
  • 特别篇-产品经理(三)
  • IP地址扫描 网络状态监测 企业网络管理 免安装,企业级 IP 监控防未授权接入
  • 【unity游戏开发——编辑器扩展】AssetDatabase公共类在编辑器环境中管理和操作项目中的资源
  • BLE协议全景图:从0开始理解低功耗蓝牙
  • 【机器学习基础】机器学习入门核心算法:GBDT(Gradient Boosting Decision Tree)
  • 基于开源AI大模型AI智能名片S2B2C商城小程序源码的销售环节数字化实现路径研究
  • Spring Cache核心原理与快速入门指南
  • Redisson学习专栏(四):实战应用(分布式会话管理,延迟队列)
  • java程序从服务器端到Lambda函数的迁移与优化
  • 使用yocto搭建qemuarm64环境
  • Vue 3前沿生态整合:WebAssembly与TypeScript深度实践
  • Linux系统下安装配置 Nginx
  • Kotlin 中集合遍历有哪几种方式?
  • 图像卷积OpenCV C/C++ 核心操作
  • LiveGBS作为下级平台GB28181国标级联2016|2022对接海康大华宇视华为政务公安内网等GB28181国标平台查看级联状态及会话
  • leetcode17.电话号码的字母组合:字符串映射与回溯的巧妙联动
  • Gartner《2025 年软件工程规划指南》报告学习心得
  • 数据库 | 使用timescaledb和大模型进行数据分析
  • 快速阅读源码
  • linux创建虚拟网卡和配置多ip
  • Java Class类文件结构