首页 > 解决方案 > 如何在应用程序 electron.js 中使用票证 kerberos?

问题描述

我正在使用 electron.js 开发一个跨平台应用程序。我需要调用具有集成安全性的 iis 服务器上的 web api。

在 Mac 计算机上,我创建了一个 kerberos 票证以连接到 Web API,从 chrome 浏览器它不会要求我提供凭据,因为它使用票证。但从应用程序电子不使用 kerberos 票。我该怎么做?

标签: javascriptnode.jselectron

解决方案


You can use kerberos Node.js module in browser side of your application like this one, kerberos or you can search npm try different ones. Later you can connect browser side responsible for business logic with renderer side(UI) via ipc module.


推荐阅读