auth0 / auth0-oidc-client-net

OIDC Client for .NET Desktop and Mobile applications
https://auth0.github.io/auth0-oidc-client-net/
Apache License 2.0
84 stars 49 forks source link

Do not mutate dictionary when passed to our SDK #230

Closed frederikprijck closed 2 years ago

frederikprijck commented 2 years ago

Changes

Ensures we do not mutate the dictionairy when passed to our SDK using Login, Logout or RefreshToken. Also adds an extra guard to not add auth0Client when it already exists, which was the root of discovering the mutation we are doing here.

References

Closes #229

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Checklist