Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: WebAuthN Sign In, Sign Up and Options methods support - NEW #952
feat: WebAuthN Sign In, Sign Up and Options methods support - NEW #952
Changes from 1 commit
c57b645
56422f3
f102128
de9fb88
40bd6e9
e150fc2
8c8d711
ced57b1
fbbed56
64a4a6b
3186aa5
3fa31ce
177b580
5d1363e
57e210d
ea42bd1
b8cffc1
bf9e00f
b44752f
dba5cda
c84a76a
3649b45
3bb7234
ce371d1
d356701
e743046
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we remove relyingPartyName, userName, userDisplayName and attestation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the schema and we don't store them in the generated options.
userName
is the email and i renamed it to be more simple.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So ideally, the output of registerOptions function should be similar to the output of this function. For example, in the registerOptions output, we have:
Now in the output of getGeneratedOptions, it's totally different. So this is strange.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we only store what is needed to verify the credentials. See the schema here (
webauthn_user_generated_options
) https://docs.google.com/document/d/1G7tO9_dSNi8wur3ajGg4pq-wiHatKDbHv2sBt-uSbQg/edit?tab=t.0#heading=h.td4zxgo1675k