
Now 'code' param cannot be get from Oauth Response if it's POST request.
Patch will be applied.
Issue fork oauth2_client-3381875
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3381875-support-getting-code-from-post-request
changes, plain diff MR !16
Comments
Comment #3
fathershawnI don't think this proposal matches with the protocol:
Can you provide more background information?
Comment #4
fathershawnMoving this to a support request and closing:
This can be implemented with minimal effort in your own code:
\Drupal\oauth2_client\Controller\OauthResponse
and override ::RedirectResponse() with your change.\Drupal\oauth2_client\Plugin\Oauth2Client\Oauth2ClientPluginBase::getRedirectUri
in your client plugin to use your route instead of the module's controller route.