Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider simplifiying dependency chain #677

Open
mnoreen opened this issue Mar 28, 2023 · 1 comment
Open

consider simplifiying dependency chain #677

mnoreen opened this issue Mar 28, 2023 · 1 comment
Labels
status: work in progress Twilio or the community is in the process of implementing type: twilio enhancement feature request on Twilio's roadmap

Comments

@mnoreen
Copy link

mnoreen commented Mar 28, 2023

Issue Summary

This is a request. Please consider simplifying (perhaps by replacing) the dependency on Microsoft Identity. The dependency chain for the Twilio library is getting out of hand, largely due to the Microsoft IdentityModel Tokens dependency itself. It adds 14 packages alone! And it also adds a rather significant chunk of "bindingRedirect" code to app.config.

For one project, that might not seem a big deal. But... we have many specialized console apps and several distinct websites. This proliferation (clutter!) is a lot to carry around and keep track of and discern if it's "really necessary." We don't blindly just accept whatever comes down from a nuget update, we try to keep a solid grasp of what underlying tech is involved. This is now becoming just too much.

Is there a more streamlined authentication layer you can use other than Microsoft's Identiy Model (which seems to have turned into an ugly beast...)?

Steps to Reproduce

  1. Start a new console app (c#, .NET Framework 4.8)
  2. Use nuget to add Twilio and it's initial dependencies (including one on Microsoft.IdentityModel.Tokens)
  3. Use nuget to update packages. Now the list of dependencies is significantly longer than it was before!

2023-03-28_12-39-01

@sbansla sbansla added type: twilio enhancement feature request on Twilio's roadmap status: work in progress Twilio or the community is in the process of implementing labels Mar 30, 2023
@sbansla
Copy link
Contributor

sbansla commented Mar 30, 2023

Hi @mnoreen
We will be checking the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: work in progress Twilio or the community is in the process of implementing type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

No branches or pull requests

2 participants