在Outlook添加程序中,salesforce oauth2 auth请求获取CORS错误

发布于 2025-01-20 20:47:49 字数 525 浏览 0 评论 0原文

我开发了react js框架outlook插件,因为我需要添加salesforce登录,所以我从客户端发出salesforce oauth2 auth请求,得到cors错误

我尝试过jsforce脚本,这解决了这个问题,但是在此刷新令牌中,

我没有添加 cors 允许的 salesforce 来源,但我仍然收到错误

在此处输入图像描述在此处输入图像描述

对此有任何想法请与我分享

注意:插件使用javascript开发,此问题发生在本地环境

I have developed react js framework outlook add-ins , In that i need to add salesforce log in , so i was make the salesforce oauth2 auth request from client Side getting the cors error

i have tried the jsforce script , This is solve this issue but in this refresh token not getting

i have added the cors Allowed origins in salesforce still i am getting error

enter image description hereenter image description here

Any thoughts about this please share me

Note : Add-ins developed using javascript and this issue occur on local environment

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文