Troubleshooting Azure OIDC login error "AADSTS900971: No reply address provided"

Original Slack Thread

hi, I’m trying to configure Azure OIDC login (https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure/) . The login comes up, but after that I get the message “Sorry, but we’re having trouble signing you in.
AADSTS900971: No reply address provided.” . From MS docs it looks like the redirect URI should be wrong, but I have configured https://iodatahub.domain.com/callback/oidc in the app registration and I still get the error. Anybody encountered this?

I just created a new app registration and it worked. Maybe just some misconfiguration… Anyways, when setting the redirect URIs, set it as a web app, not the new SPA type (even if Azure recommends it)