关于 Mail Server OAuth 认证的常见问题
Google 和 Microsoft 将于 临近 停止 b基础 认证 对邮件服务器的支持,时间分别为 2021 年 2 月和 2020 年 10 月。 因此,建议用户切换到, OAuth 认证。 我们已在Microsoft Outlook (office365)和
Gmail (Gsuite)上测试了 OAuth 认证。点击相应链接了解如何从这些服务器生成访问令牌。 你也可以连接到其他服务提供商, 但 ServiceDesk Plus MSP
仅支持, Microsoft Azure(针对 O365)和 G Suite (针对 Gmail)。 我可以为现有邮件账户配置 OAuth 吗?s 可以。 你可以为现有账户配置 OAuth。.
应用必须运行在 YHTTPS 模式。 主机名必须以公有顶级域(TLD)结尾, 如 .com、.org 等。.
是的,你可以使用 Microsoft 已有应用/项目的客户详情在你的, y授权服务器中认证 ServiceDesk Plus MSP。 确保你已将 ServiceDesk Plus MSP 的
是的,你可以使用 但, y重定向 URL 添加到该项目中。 重定向 URL 或回复 URL 是授权服务器发送机密响应数据的 URL。 将重定向 URL 复制粘贴到授权服务器的应用详情中并保存。 对于 Outlook,我们仅支持
EWS C协议。 D对于 Gmail,我们支持 IMAPS、SMTP A和 SMTPS 协议。P在用户同意窗口输入错误的用户信息时会发生什么? a如果用户信息错误,你将无法连接。点击 s保存 以重试登录。 当你的访问令牌过期时, R会自动使用刷新令牌生成新的访问令牌。 A和 SMTPS 协议。P用户不会收到访问令牌过期的通知。应用会自动生成 save it.
新的访问令牌。刷新令牌
可能 会,也可能 不会过期,这取决于.
你的, 服务提供商的设置。
如果刷新令牌过期了,你必须重新按照此处提供的配置步骤 从授权服务器生成新的令牌。 如果 OAuth 设置无法连接到邮件服务器,我的下一步是什么?
检查邮件服务器设置页面指定的账户是否与你登录时使用的账户一致。 检查你访问的主机名是否与重定向 URL 中的相同。 例如,当
重定向 URL 是 https://helpdesk.zylker.com,但你使用 IP 地址访问应用时,你会被重定向到重定向 URL,而你可能没有登录那里。
检查你是否已将应用服务器的重定向 URL 添加到授权服务器的重定向 URL 列表中。s 学习如何 完成此操作。 确保你已保存设置。 应该会弹出一个窗口,但浏览器通常会阻止弹窗。请注意警告,或检查浏览器地址栏是否阻止了弹窗。如果是, 选择允许弹窗并 再次尝试。如果仍失败,尝试使用其他浏览器。 主机名作为参数名“WEB_URL”存在于 GlobalConfig 表中。 连接到
你的数据库 并执行以下查询以更改主机名: update globalconfig set paramvalue='
<your_actual_host_name>' where parameter='WEB_URL' and category ='SDDnsName'.
r the account specified in the Mail Server Settings page and the one you signed in with are the same.
Check if the hostname you are accessing is the same as in the redirect URL. For example, when the redirect URL is https://helpdesk.zylker.com but you are accessing the application using the IP address, you will be redirected to the redirect URL from where you might not have signed in.
Check if you have added the application server's redirect URL to your authorization server's list of redirect URLs. Learn how to do this ='SDDnsName'. Ensure that you have saved the settings.
A popup should appear, but browsers usually block popups. Make sure to look out for alerts or check the browser's URL bar if the popup is blocked. If yes, choose the option to allow pop-ups andtry again. If it still fails, try using a different browser.
The hostname is found as a parameter named "WEB_URL" in GlobalConfig table. You should connect to your database and execute the following query to change the hostname:
update globalconfig set paramvalue='<your_actual_host_name>' where parameter='WEB_URL' and category='SDDnsName';