Sync users with LDAP but authenticate with SSO

Dear Everyone!

I would like to sync users to Gitea, so they can be added to repos / teams in Gitea before they are logged in.

SSO only support authentication. I have added also LDAP connection to LDAP server, users are synced, but now I see that the “Authentication source” is set to LDAP for these users.

Would it be possible change it to “any”, or just rewrite the auth source when a user is added to Gitea?