Add proper redirect configurations; Improve OAuth verification.