chore(oauth): compatibility with OAuth PHP module