Start here. This is the direct spoken answer to practice first.
Why this question matters
Authentication callbacks depend on the real public scheme, host, path, proxy headers, cookie policy, identity-provider registration, and slot-owned configuration. A swap can expose a mismatch even when the application code is unchanged.
I would capture the actual redirect URL, the configured callback URLs in the identity provider, and the app settings that control public origin or auth authority. Then I would check whether those settings are sticky to the slot and whether the production slot received a staging callback or base URL during swap. I would also inspect forwarded headers if a proxy or gateway is in front, because the app may generate an HTTP or internal host callback. The immediate fix is to restore the correct callback configuration and verify login end to end.