如何使用Office 365 api获取身份验证代码?

时间:2017-12-13 11:40:51

标签: xcode authentication oauth-2.0 office365 postman

我的目标是将用户(Office 365和Outlook.com)邮件放入骡子项目中。我正在尝试按照https://docs.microsoft.com/en-us/outlook/rest/get-started中描述的步骤 注册应用程序后,下一步是使用OAuth2对用户进行身份验证。但我无法获得身份验证代码。

每当我打 https://login.microsoftonline.com/tenantId/oauth2/authorize?client_id=clientId&response_mode=query&response_type=code&scope=openid+Mail.Read 在邮递员中,我正在回复html中的签名。

如何传递用户名和密码,以便我无法获得登录页面作为回应?

任何人都可以帮我吗?

1 个答案:

答案 0 :(得分:0)