I am trying to open a popup from the config panel like this
const authWindow = window.open('https://localhost:8081/spotify/login', '_blank', 'width=500,height=500');
It works from my local dev server but not in the rig. I added both
https://accounts.spotify.com/ to my whitelist config urls.
Any ideas ?
You can check the Chrome inspector for a error message that may provide more information
I get this error too, in console it tells me:
ConfigPage.js:5 Blocked opening ‘https://localhost:4000/twitter’ in a new window because the request was made in a sandboxed frame whose ‘allow-popups’ permission is not set.
I think related to this - https://github.com/twitchdev/developer-rig/issues/136
So apparently I had to whitelist urls, in the Whitelist Config URLs, even though it’s there its not working.