Wildcard for Google Sheets API

Hello Bubblers,

I am writing to you because I just put my application live ! But I am experiencing a very annoying problem :

The API call works if I hardcode the unique user id as the redirect URL in console.developers. But I can’t obviously do that for every client as the unique user id changes with each user. I’ve tried removing the unique_id, but I get an error that the redirect URL is invalid…

Do any of you encountered this problem and found a solution ? Or have an idea how I can achieve it ?

Thanks