LDAP authentication opens in new tab

When using LDAP sign in, after submitting the browser opens a new tab/window. Is it possible to change this behavior? Doesnt happen when using the “regular” user login of gitlab…