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

Fix IE msCrypto.subtle usage #242

Merged
merged 4 commits into from
Oct 14, 2019
Merged

Fix IE msCrypto.subtle usage #242

merged 4 commits into from
Oct 14, 2019

Conversation

luisrudge
Copy link
Contributor

Description

When abstracting the crypto and subtle calls, we introduced a bug that prevented IE11 to get the correct instance of subtle (which comes from msCrypto and not crypto. This PR fixes this by using our internal abstraction getCrypto which already takes that into consideration.

References

Fix #241

Testing

  • This change adds test coverage for new/changed/fixed functionality

@luisrudge luisrudge added the tiny label Oct 14, 2019
@luisrudge luisrudge changed the title Fix IE subtle Fix IE msCrypto.subtle usage Oct 14, 2019
@luisrudge luisrudge changed the title Fix IE msCrypto.subtle usage Fix IE msCrypto.subtle usage Oct 14, 2019
__tests__/utils.test.ts Outdated Show resolved Hide resolved
__tests__/utils.test.ts Outdated Show resolved Hide resolved
Luís Rudge and others added 2 commits October 14, 2019 15:06
Co-Authored-By: Josh Cunningham <josh.cunningham@auth0.com>
Co-Authored-By: Josh Cunningham <josh.cunningham@auth0.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

createAuth0Client promise rejects with an error on Internet Explorer
2 participants