Gitlab nameID empty


I want to create a SSO with SAML using external custom idp. I’m stuck at the moment because my ipd has no attribute “nameid” which make the field empty.
When trying to login with SSO gibtlab gives the following error:
Could not authenticate you from SAML because “An empty nameid value found”.

Is there a way to skip the isempty on nameid?