You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see many of the OAuth Service providers have hard-coded endpoints for production services.
e.g. login.salesforce.com, www.paypal.com, etc.
For my application, I need flexibility to set the endpoint base URL differently, based on my SLDC. What's the recommended way to do this? Just extend the class and override those methods?
If that's the recommendation, would you consider a patch to include a more robust framework to swap out the endpoints? Or is this overkill?
Thanks for your work on this.
The text was updated successfully, but these errors were encountered:
Yeah honestly with the way the code structure is right now your best bet is extending the class and overriding the methods, naming the derived class something indicating it targets a different environment.
If you have a proposal for making it cleaner let me know, I'd accept a PR that doesn't break BC and is reasonably clean - I know the design isn't currently ideal
I see many of the OAuth Service providers have hard-coded endpoints for production services.
e.g. login.salesforce.com, www.paypal.com, etc.
For my application, I need flexibility to set the endpoint base URL differently, based on my SLDC. What's the recommended way to do this? Just extend the class and override those methods?
If that's the recommendation, would you consider a patch to include a more robust framework to swap out the endpoints? Or is this overkill?
Thanks for your work on this.
The text was updated successfully, but these errors were encountered: