question

mintcitydiscounts avatar image
0 Likes"
mintcitydiscounts asked

OAuth Redirects With Multiple Users

I have a google sheets application that pulls data from ebay using OAuth. I have configured my application and RuName callbacks to point to my google sheet and everything works fine. How do I proceed in providing access for multiple users with their own ebay accounts? Since the callback URLs are unique for each google sheet, I'm unsure how to proceed. Is it possible to send the callback URL along with the OAuth request?

I'm using a callback function url as follows:

https://script.google.com/macros/d/{google sheet id}/usercallback

oauth2google apps script
· 1
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

michab2003 avatar image michab2003 commented ·

if your app only has a fixed number of users you can create multiple OAuth configs in your dev account. but that´s not the way it should be ;) you need a callback URL on YOUR server, not on google or anywhere else. on your server then, you can handle the auth and redirect the user to your sheet url.

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.