so after 3 hours of debugging, for those of you using visual studio and have setup your urls and app on google console using their documentation.
simply run visual studio as administrator and it'll work.
god damn....