📙 Clarification about how to use masterKey on JS SDK
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
调研方向
从链接的 JavaScript Guide 部分开始,结合报告中的 Node.js 设置检查其中的 Parse.initialize 示例。明确浏览器 SDK 与 Node.js SDK 用法之间的区别,然后验证文档中的示例是否与受支持的 master-key 配置一致。当读者无需依赖 Stack Overflow 链接即可选择正确的设置时,这项工作就完成了。
由索引模型根据 Issue 内容生成。
描述
Link to section:
https://docs.parseplatform.org/js/guide/
What is the issue?
I've been trying to use the masterKey on the JS SDK using the info in the docs
Parse.initialize("YOUR_APP_ID", "YOUR_JAVASCRIPT_KEY", "YOUR_MASTERKEY");
and didn't work.
Can you propose a solution?
I did find this https://stackoverflow.com/questions/40223311/parse-js-sdk-cannot-use-the-master-key-it-has-not-been-provided
where states This actually works with browser SDK. The nodejs version requires the normal initialization
no idea what browser SDK means...
the solution in StackOverflow worked for me
Parse.initialize(process.env.PARSE_APP_ID)
Parse.masterKey = process.env.PARSE_SERVER_MASTER_KEY
- 主要语言
- SCSS
- 星标
- 317
- 派生
- 506
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
parse-community/docs 的其他 Issue
-
📙未关闭docs:cloud-code type:docs
难度 1/5 1-3 小时 新手友好度 72/100
parse-community/docs#936 ·
-
type:bug
难度 2/5 1-3 小时 新手友好度 68/100
parse-community/docs#889 · 7 条评论 ·
-
docs:sdk-js
难度 2/5 1-3 小时 新手友好度 48/100
parse-community/docs#961 ·
-
type:bug
难度 4/5 3-5 天 新手友好度 25/100
parse-community/docs#950 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
parse-community/docs#947 ·
查看 parse-community/docs 的全部 Issue
相似的 Issue
-
sync-en
难度 2/5 1-2 天 新手友好度 84/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
unixorn/awesome-zsh-plugins#2285 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1-3 小时 新手友好度 88/100
astrodbtoolkit/astrodb-bot#105 ·