There are companies such as Signicat, Scrive and others that provide an API that integrates with different national authentication providers.