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.
[ ] This change adds unit test coverage
[ ] This change adds integration test coverage
[ ] This change has been tested on the latest version of the platform/language or why not
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