Django和React中Microsoft Graph API的授权流量
我正在尝试将Microsoft Graph API与我的Django后端应用程序集成在一起。我希望能够代表用户阅读,管理和发送电子邮件。
前端是由React
我的问题构建的,现在的授权流将如何工作。我希望用户在前端授权该应用程序(多数使用OAuth),然后我将获得某种访问代码,可以在后端保存,然后使用这些访问代码,随后使用用户代表用户向图形API提出
请求我实现了这个流程? 任何帮助将不胜感激。我整天都在争夺文档,需要有人将我指向正确的方向
I am trying to integrate Microsoft Graph API with my Django backend application. I want to be able to read, manage and send emails on behalf of users.
The frontend is built with React
My issue now is how the authorization flow will work. I want users to authorize the app(prolly using Oauth) on the frontend after which I will get some kind of access code that I can save on the backend and subsequently use to make requests to the graph APIs on the user's behalf
Pls, how do I achieve this flow ??
Any help will be appreciated. I have been scrambling through the docs all day, need someone to point me in the right direction
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
代表用户获取访问:
rel =“ nofollow noreferrer”> https://learn.microsoft.com/en-us/graph/auth-v2-user
Get access on behalf of a user:
Follow this documentation for more information: https://learn.microsoft.com/en-us/graph/auth-v2-user