Wouldn't it be nice to put something like:

$logger->info("OAuth2 ($provider) succesfull, ...") 

for all of the above cases?