Skip to content

Conversation

@MasterKale
Copy link
Owner

This PR fixes the issue of user.id in the output from generateRegistrationOptions() being many thousands of characters long, most of them As:

image image

Now, the userID argument will be correctly encoded to a more sensible base64url string:

Screenshot 2025-09-16 at 11 33 04 PM

Fixes #723.

@MasterKale MasterKale added the package:server @simplewebauthn/server label Sep 17, 2025
@MasterKale MasterKale added this to the v13.2.1 milestone Sep 17, 2025
@MasterKale MasterKale merged commit e8a8062 into master Sep 17, 2025
4 checks passed
@MasterKale MasterKale deleted the fix/723-large-user-id-node-buffer branch September 17, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:server @simplewebauthn/server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"generateRegistrationOptions" in "@simplewebauthn/server" generates a strange user-id

2 participants