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

avoid crypto.subtle is undefined #1299

Closed
pamapa opened this issue Dec 13, 2023 · 1 comment · Fixed by #1300
Closed

avoid crypto.subtle is undefined #1299

pamapa opened this issue Dec 13, 2023 · 1 comment · Fixed by #1300
Assignees
Milestone

Comments

@pamapa
Copy link
Member

pamapa commented Dec 13, 2023

It is better to throw an exception with a message of the reason.

See https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto:
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

@pamapa pamapa added this to the 3.0.0-rc.0 milestone Dec 13, 2023
@pamapa
Copy link
Member Author

pamapa commented Dec 13, 2023

See authts/react-oidc-context#1055

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 a pull request may close this issue.

1 participant