I am working on the automation tests of the OAuth2 Box application authorization process in our system.
The way our tests works is that we are dynamically creating testing virtual machines running our application with box integration and we have one machine that has the selenium grid.
For each test instance, the virtual machine is created and the selenium grid connects to the machine and executes the tests.
Now there is a problem with the redirect URL, the URL will be always different because the selenium grid connects to the dynamically VM by IP address (OAuth2 Box application redirect URL doesn't support wildcards or to be empty) and we cannot make the URL static because we need to be able to run multiple tests instances in the same time.
What would be your suggestion to deal with this problem? Or is there a way to enable wildcards for our testing application?
Looking forward to hearing from you