URI mismacth

i am using react app with github login. i am getting uri mismatch error and tried to figure it out. 
can anyone tell how to resolve this issue.

http://localhost:3000/login?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch

REACT_APP_REDIRECT_URI=https://localhost:3000/login