Skip to content

Fix duplicate redirect_uri in get_token request.

Created by: markus

OAuth2::Client#redirection_params converts the symbol key :redirect_uri to a string, so we have to do the same for params in get_token before merging to avoid submitting both :redirect_uri and "redirect_uri".

Noticed this issue when using the linkedin-oauth2 gem.

Merge request reports

Loading