Hello,
Summary:
I am currently running my panel extension in the devevloper Hosted Test
mode.
Inside the developer twitch console > Access tab I have added under Testing Account Allowlist
my test user.
Current Results:
The config page I designed has a simple save button that performs an XHR GET request to my external api. For example https://my-domain.com/api/v1/xxxxxx
When the config page runs via the developer account (the user who is running the hosted test). I am able to get a 200 OK response. Everything works great.
Now lets assume my allowed test user visits my Twitch channel running the test panel extension…
The test user taps Ok to the test extension disclaimer and they are able to see the extension fine. This is also working great.
Now lets assume the test user attempts to install the extension. This also seems to work.
However, when the same config page runs via the test account and the user taps the same Save button and the XHR GET request fires, the request URL is totally different and failing with a 404.
For some reason the XHR GET request is now showing…
https://ladb8vycmio4ascv35jozl47phe2x.ext-twitch.tv/ax5db8vycmio4ascv35jozl47phe2x/0.0.1/ae475edb7f3dae3ea0d1485c2b854336/null/xxxxxx
It should be the same as before:
https://my-domain.com/api/v1/xxxxxx
Long story short…
Why is the request url being changed to this invalid URL.
Expected Results:
The XHR GET request should behave the same for both the developer hosting the extension and also the allowed test user who wishes to install and test this extension that is running in the development hosted test mode.
Question:
Does the XHR GET request fail simply because the extension is not yet made live on Twitch and therefore the request url in the GET request is broken? If so, that would mean that test users can only fully test once the extension is made live?
Any advice much appreciated!
Thank you!