fix oauth2 redirect uri