Issue with App Submission - Unexpected URL Redirect During OAuth Process

Have you implemented the app grant as explained here: Implement authorization code grant manually