Skip to content

update: Upgrades auth0-js from ^9.29.0 to ^10.0.0#2810

Merged
cschetan77 merged 1 commit into
masterfrom
update/auth0-js
Jun 5, 2026
Merged

update: Upgrades auth0-js from ^9.29.0 to ^10.0.0#2810
cschetan77 merged 1 commit into
masterfrom
update/auth0-js

Conversation

@cschetan77

Copy link
Copy Markdown
Contributor

Changes

Upgrades auth0-js from ^9.29.0 to ^10.0.0

auth0-js v10 enforces strict token validation for HS256-signed tokens. parseHash() will now return an invalid_token error instead of silently succeeding.

This was never safe in a browser context, HS256 is a symmetric algorithm, meaning the same client secret is used to both sign and verify the token. Verifying HS256 in the browser would require exposing the client secret in JavaScript, which is a security vulnerability. auth0-js v9 worked around this by skipping verification entirely and silently passing the token through. v10 now correctly rejects it.

References

@cschetan77 cschetan77 requested a review from a team as a code owner June 5, 2026 07:45
@cschetan77 cschetan77 merged commit e5c3f97 into master Jun 5, 2026
5 checks passed
@cschetan77 cschetan77 deleted the update/auth0-js branch June 5, 2026 08:00
This was referenced Jun 5, 2026
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.

2 participants