You test your app at www.yourapp.com and login works. A user types yourapp.com, signs in, and lands back on the login screen or hits a redirect error.
Browsers treat those as two different hosts. A session cookie set on one isn't always sent to the other, and auth providers only redirect to URLs on their allow list. If only one version is listed, the other breaks.
The fix: pick one canonical domain, permanently redirect the other to it, and make sure your auth provider's site URL and redirect URLs match that domain exactly.
FlowWatch signs in to your app every day the way a real user does, so a login that quietly breaks shows up before your users report it.