Added support for linking an external identity provider with OIDC. Contributed by @ginger.