Use exflcalproxy by default for CalCat access
Description
At present, anyone running one of the notebooks we've converted to the new CalCat API needs to configure an Oauth client ID & secret in a config file in their home folder. With this change, these notebooks will use the internal exflcalproxy instead, requiring no configuration.
In production, we'll still use Oauth directly, so it's easy to track which requests come from the calibration system, and so we're not dependent on the proxy. I've ensured that xcal and xcaltst have the URLs explicitly configured and the use_oauth2: true
option set.
I also reordered the URLs to make the structure clearer - the token, auth & refresh URLs are all part of Oauth, so they're ignored if use_oauth2
is false.
How Has This Been Tested?
TBD
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
- My code follows the code style of this project.