instead of creating yet another one directory, could be just put the local HTML redirection resources under the folder

contacts/oauth2/ 

in that case we would have "to": "/contacts/oauth2/redirect.html"