I created a client ID in the Google Developer Console and specified the same URL in my program and still it is getting the error.
Error: invalid_request
Invalid parameter value for redirect_uri: Uri must consist of printable ASCII characters:
This is my URI: localhost:81/public/login/CheckLogin
.