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

feat/user_id_bytes_only #197

Merged
merged 6 commits into from
Jan 11, 2024
Merged

feat/user_id_bytes_only #197

merged 6 commits into from
Jan 11, 2024

Conversation

MasterKale
Copy link
Collaborator

This PR only accepts bytes for the user_id argument when calling generate_registration_options(). Additionally, user_id is now OPTIONAL; when omitted 64 random bytes will be generated and used for this value.

Fixes #187.

@MasterKale MasterKale added this to the v2.0.0 milestone Jan 11, 2024
@MasterKale MasterKale merged commit 3a4be36 into master Jan 11, 2024
4 checks passed
@MasterKale MasterKale deleted the feat/user_id_bytes_only branch January 11, 2024 01:03
@jwag956
Copy link

jwag956 commented Jan 11, 2024

Awesome - I have my code all working with this - even easier - and thank you for now doing the b64decode as part of parse_authentication_credential_json...

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.

Can't use bytes as user ID
2 participants