The function oauth_commmon_is_provider is misspelled. It's minor but I thought I should point it out.