The code seems to have been introduced in rEOATea984e5c2b2e: Refactor the extension to support multiple auth modules
The notice is followed by MWException from line 98 of OATHAuth/src/OATHUserRepository.php
Impact: Users unable to login, unable to access some special pages, including Special:AllPages.