Version v0.40 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
The Open Source Edition of Metabase allows you to integrate with LDAP or Google sign-in. If you’re using SAML or JWT for SSO, you will need the Enterprise Edition.