多个重定向 uri 在 Slack 中不起作用
我们在应用程序中使用 slack 来使用 oAuth。
要求:
我们想要的是为不同的域配置不同的重定向 uri(例如为本地主机、测试和生产模式配置不同的重定向 uri) 我们在 slack 的应用程序设置中配置了多个重定向 url,并且还在 oAuth 流 url 中添加了redirect_uri。
错误:
但是当用户通过 slack 授权并重定向回 url oAuth 流 url 时,我们会收到“bad_redirect_uri”响应错误。如果我们尝试在应用程序设置中配置单个重定向 uri,那么它就可以正常工作。
谢谢
We are using oAuth using slack in our application.
REQUIREMENT:
What we want is to configure different redirect uri's for different domains ( like different redirect uri's for localhost, test and production mode)
and We have configured multiple redirect url's in app settings of slack and have also added redirect_uri in oAuth flow url as well.
ERROR:
But When user is authorized by slack and redirects back to the url oAuth flow url then we are getting "bad_redirect_uri" error in response. If we try by configuring single redirect uri in app settings, then it works fine.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论