-
Notifications
You must be signed in to change notification settings - Fork 33
Cannot use identity.getRedirectURL() #15
Copy link
Copy link
Closed
Labels
Description
Hello @KeithHenry,
I'm trying to use chrome-extension-async in order to develop an extension which will use an OAuth login.
When trying to:
const getRedirectUrl = async() => {
const url = await chrome.identity.getRedirectURL();
return url;
}; I get this uncaught error:
Error: Invocation of form identity.getRedirectURL(function) doesn't match definition identity.getRedirectURL(optional string path)
Can you fix that?
Also, some workaround I've found for the future:
- Remove
chrome-extension-asynctemporarily - Invoke
chrome.identity.getRedirectURL()in devtools console
Reactions are currently unavailable