Fix response_mode=form_post with Starlette client by azmeuk · Pull Request #812 · authlib/authlib

What kind of change does this PR introduce?

This makes the Starlette client handle the response_mode=form_post as suggested in #793. The behavior mimicks the Flask client.

Checklist

  • The commits follow the conventional commits specification.
  • You ran the linters with prek.
  • You wrote unit test to demonstrate the bug you are fixing, or to stress the feature you are bringing.
  • You reached 100% of code coverage on the code you edited, without abusive use of pragma: no cover

  • You consent that the copyright of your pull request source code belongs to Authlib's author.