openid-connect-generic icon indicating copy to clipboard operation
openid-connect-generic copied to clipboard

OpenIddict - Looks the authorization_code request not want to send the scope

Open andregloeckner opened this issue 2 years ago • 0 comments

Describe the bug When try to add Wordpress as OpenIddict client, an error happen because the configured scopes are send in the authorization_code request.

To Reproduce Steps to reproduce the behavior:

  1. Run a OpenIddict Server later version 4.
  2. Configure a client
  3. Try to login
  4. See error

Screenshots image

["body"]=> string(179) "{ "error": "invalid_request", "error_description": "The 'scope' parameter is not valid in this context.", "error_uri": "https://documentation.openiddict.com/errors/ID2074" }"

Expected behavior Login should be possible.

Isolating the problem (mark completed items with an [x]):

  • [ ] I have deactivated other plugins and confirmed this bug occurs when only this plugin is active.
  • [ ] This bug happens with a default WordPress theme active.
  • [ ] I can reproduce this bug consistently using the steps above.

WordPress Environment

  • Website URL:
  • PHP Version: php8.1
  • WordPress Version:
  • Plugin Version: 3.9.1
  • Identity Provider:
  • Relevant Plugin Settings:

andregloeckner avatar Sep 22 '23 14:09 andregloeckner