launchWebAuthFlow with Spotify returns "Authorization page could not be loaded"
You can use
var redirectUri = chrome.identity.getRedirectURL("spotify");
getRedirectUrl
will return a url with a / at the end. so your original code was resulting in:
"https://<app_id>.chromiumapp.org//spotify"
Instead you can pass endpoint as an argument to form url