Microsoft SSO 在我的团队选项卡和任务模块中失败

Microsoft SSO fail in my teams tab and task module

"error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'grant_type'. This is the error I am getting while exchanging my client side token to server-side token. I gave all additional consent.

      client_id: ****,
      client_secret: ***,
      grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',
      assertion: clientSideToken,
      requested_token_use: 'on_behalf_of',
      scope: 'https://graph.microsoft.com/User.Read'

This is my request body for the consent

根据你的报错信息,我想这应该是你没有正确设置请求参数造成的。你应该把请求参数放在请求体.