Fixed using the dependent function in oauth2 lib

In new version oauth2 lib getting auth code url required three arguments instead one