@stof In the example:

    $this->container->get('hwi_oauth.security.oauth_utils')->getAuthorizationUrl(
                        'linkedin', $this->generateUrl('your_route_name', array(), true));

Without this change, the given `url` got completely ignored.

Note: I just saw the elseif part, just a sec an I'll fix it