bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Fix content-type in client_credentials oauth flow

Open PushpenderSaini0 opened this issue 10 months ago • 0 comments

Description

I was getting error while using the client credential oauth flow on login.microsoftonline.com

As per RFC 6749 section-4.4 the client credential grant must have "application/x-www-form-urlencoded" format ! This PR adds the format as a header !

I have verified this fixes the issue 😄 !

  • Before
  • image
  • After the fix
  • image

Fixes #1987 Fixes #1976 Fixes #1938

Contribution Checklist:

  • [X] The pull request only addresses one issue or adds one feature.
  • [X] The pull request does not introduce any breaking changes
  • [X] I have added screenshots or gifs to help explain the change if applicable.
  • [X] I have read the contribution guidelines.
  • [X] Create an issue and link to the pull request.

PushpenderSaini0 avatar Apr 09 '24 06:04 PushpenderSaini0