For getting OAUTH to work, the get redirect url changes each time I run it on a different computer.
var redirectUri = chrome.identity.getRedirectURL("https://www.google.com/");
That is the code I use to generate it, but the app id it returns in the form of https://[app-id].chromiumapp.org/*., has a different app-id on different computers.
This is an issue because I have to register the redirect url on the API site I'm using but it is different for every different person.
Here is the full code block
var redirectUri = chrome.identity.getRedirectURL("https://www.google.com/");
var auth_url = "https://accounts.spotify.com/authorize?client_id=" + client_id + "&redirect_uri=" + redirectUri + "&scope=user-library-modify%20user-read-email&response_type=token&state=123";
chrome.identity.launchWebAuthFlow({'url':auth_url,'interactive':true}, function(redirect_url){
console.log(redirect_url)
});
Hardcoding it did not work either