When using Auth remoteuser plugin to automatically login i have used this command
wgAuthRemoteuserUserName = $_SERVER['HTTP_X_AMZN_OIDC_IDENTITY']
and i see that once my sso authentication is complet and i navigate to wiki my user name is reflected on top right corner.
But when i click on edit option to the Visaual editor complains
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.