Enable Multiple OIDC Methods In Vault

I have enabled the google oidc method and it is working fine for me. Some of my users want to log in with GitLab and for them, I am trying to enable oidc authentication using GitLab. I have created a new path for it but it is not working for me. I want to enable OIDC both for google as well GitLab at the same time. I am not getting any proper solution to this.
Thank You.

Hi. By “created a new path for it” did you mount a new instance of the backend? Something like:

vault auth enable -path=gitlab_oidc oidc

Yes, This worked. I tried from UI too.