Sign In with LinkedIn using OpenID Connect with Firebase Auth or GCP Identity Platform
Sign In with LinkedIn (https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin) was deprecated on beginning of this month and can't be added as a product on new LinkedIn apps anymore. Instead Sign In with LinkedIn using OpenID Connect (https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2) should be used. I'm trying to set this up with a Firebase Auth (backed by GCP Identity Platform) to allow users to Login with LinkedIn on an app I'm building. So far so good, since Firebase Auth does also support OIDC. However, there is an issue in the configuration, that I can't seem to overcome:
Firebase Auth OpenID Connect requires openid-configuration
to be hosted at %issuer%/.well-known/openid-configuration
(see here: https://firebase.google.com/docs/auth/web/openid-connect#before_you_begin). However, LinkedIn OIDC hosts the config file at %issuer%/oauth/.well-known/openid-configuration
which seems to make authenticate with LinkedIn incompatible with Firebase Auth and GCP Identity Plattform.
Any idea how to use Sign In with LinkedIn OIDC with Firebase Auth or GCP Identity Platform?
(Sorry for the misleading tag, however there does not seem to be a tag for LinkedIn.)