javascript - Identify OAuth for Multiple Google Accounts/Calendars -
we have chrome extension adds on information google calendar meetings (based on user action). accomplish this, perform oauth on user logged calendar, , use google api add our information.
this works fine when 1 google account being used calendar/gmail. however, when there multiple accounts (such personal , google apps business account), have figure out account owns given calendar. handle looking @ dom elements , tying correct account have stored. however, proving fragile, , causes major pains when fails.
we have evaluated chrome.identity, appears information account logged chrome browser itself, not account active in web session.
is there programmatic way tell google user active under these circumstances can make appropriate api calls?
Comments
Post a Comment