Thanks for advice.
Right, I'm doing this first time. I work in pimcore CMS. Pimcore has hybridauth.php configuration file. I put some providers in that file, with correct keys.
I think I have problems with sessions. When I do <?=var_dump(unserialize($_SESSION["HA::CONFIG"]["config"])); ?> I get array from configuration file, but when I do <?=var_dump($storage->config("CONFIG")); ?> I get NULL altought it's the same thing.
I can't figure out what the problem is. I read all topics, all similar issues and nothing.