im working with google drive API , what do i set as the authorized domain if im working on my project Locally

I tried using localhost with port number, ngrok even netlify, but every time I get an error saying “missing domain:example.com”

the Ngrok domain was something like ngrok-free.app, netlify was netlify.app etc but non of these proved to work