D.ThắngOriginal post
Web Developer
My application deployed to single server, the ports 80/443 already busy by front-end of application.
Backend deployed to the same server at 1443 port. I try to login with OAuth, afterwards it tries redirect me to https://mydomain.com/ instead of using port at the end, and oauth can't complete successfuly
Summary
Developers are trying to use OAuth2 for login but the redirect URI is missing the port number, causing authentication failure. The backend is deployed on a different port (1443) while the front-end is on ports 80/443. Solution: Update the redirect URI to include the port number (e.g., https://mydomain.com:1443/).