简体   繁体   English

Nylas Api 与 Office 365 外部登录的集成

[英]Nylas Api integration with Office 365 external login

I am trying to login with office 365 from nylas api integration i am getting logged in but when nylas callback url is called then error comes like this:我正在尝试从nylas api集成登录 office 365 我正在登录但是当调用 nylas 回调 url 时,错误如下所示:

Status 500:An internal error occurred.状态 500:发生内部错误。 If this issue persists, please contact support and copy/paste this request_uid: "如果此问题仍然存在,请联系支持人员并复制/粘贴此 request_uid:"

my app in azure oauth is unverified.我的 azure oauth 应用程序未经验证。

it is already working with gmail.它已经在使用 gmail。

it should login with microsoft account and sync email.它应该使用微软帐户登录并同步电子邮件。

It's possible that you might have a misconfiguration in your OAuth settings for Office 365. Take a look at this guide to make sure everything is setup properly.您可能在 Office 365 的 OAuth 设置中配置错误。请查看本指南以确保一切设置正确。 Specifically, make sure you check the following items:具体来说,请确保检查以下项目:

  • Enable all of the appropriate permissions in Azure for the data your app is trying to access.在 Azure 中为应用尝试访问的数据启用所有适当的权限。
  • Generate OAuth credentials for your Nylas app within Azure and add the OAuth client ID and client secret to the app configuration settings in the Nylas dashboard.在 Azure 中为您的 Nylas 应用程序生成 OAuth 凭据,并将 OAuth 客户端 ID 和客户端机密添加到 Nylas 仪表板中的应用程序配置设置。
  • Check your manifest JSON in Azure to make sure there aren't any conflicts.检查 Azure 中的清单 JSON 以确保没有任何冲突。

One last thing, check your Callback URI configurations for your Nylas app in the dashboard.最后一件事,在仪表板中检查 Nylas 应用程序的回调 URI 配置。 It's unlikely this is the problem since you're able to login with other accounts, but you need to make sure that if you're using a different login flow for Office 365 that the appropriate Callback URI is listed in the Nylas dashboard.这不太可能是问题,因为您可以使用其他帐户登录,但您需要确保如果您使用不同的 Office 365 登录流程,Nylas 仪表板中会列出相应的回调 URI。

If none of these work, HTTP 500 errors are often related to upstream email provider misconfiguration or problems.如果这些都不起作用,则 HTTP 500 错误通常与上游电子邮件提供商配置错误或问题有关。 Nylas support can help you investigate the issue further. Nylas 支持可以帮助您进一步调查问题。

It's possible that you might have a misconfiguration in your OAuth settings for Office 365. Take a look at this guide to make sure everything is setup properly.您可能在 Office 365 的 OAuth 设置中配置错误。请查看本指南以确保一切设置正确。 Specifically, make sure you check the following items:具体来说,请确保检查以下项目:

  • Enable all of the appropriate permissions in Azure for the data your app is trying to access.在 Azure 中为应用尝试访问的数据启用所有适当的权限。
  • Generate OAuth credentials for your Nylas app within Azure and add the OAuth client ID and client secret to the app configuration settings in the Nylas dashboard.在 Azure 中为您的 Nylas 应用程序生成 OAuth 凭据,并将 OAuth 客户端 ID 和客户端机密添加到 Nylas 仪表板中的应用程序配置设置。
  • Check your manifest JSON in Azure to make sure there aren't any conflicts.检查 Azure 中的清单 JSON 以确保没有任何冲突。

If none of these work, HTTP 500 errors are often related to upstream email provider misconfiguration or problems.如果这些都不起作用,则 HTTP 500 错误通常与上游电子邮件提供商配置错误或问题有关。 Nylas support can help you investigate the issue further Nylas 支持可以帮助您进一步调查问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM