Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How can I integrate FIDO2 user data in SQL Server? #493

Answered by Regenhardt
wayne362066 asked this question in Q&A
Discussion options

Hello, I am a junior engineer. Due to the requirements of my job, I need to familiarize myself with the FIDO2 system. I am tasked with storing user data in SQL Server, but I currently lack the skills to achieve this. I would appreciate guidance on how to proceed. Thank you.

You must be logged in to vote

User data in general has to already exist in the DB in order to add the FIDO2 credentials.

You can clone this repository and look at one of the example apps. There you can check the UserController to trace what is stored when a credential is created. For dev/demo purposes there is a type StoredCredential, which shows what data you need in your database.

When actually implementing it though, maybe wait until release 4.0.0 is out, as there have been quite a few breaking changes on the API where you'd have to rename stuff if you built something around the v3 NuGet packages.

Replies: 2 comments

Comment options

User data in general has to already exist in the DB in order to add the FIDO2 credentials.

You can clone this repository and look at one of the example apps. There you can check the UserController to trace what is stored when a credential is created. For dev/demo purposes there is a type StoredCredential, which shows what data you need in your database.

When actually implementing it though, maybe wait until release 4.0.0 is out, as there have been quite a few breaking changes on the API where you'd have to rename stuff if you built something around the v3 NuGet packages.

You must be logged in to vote
0 replies
Answer selected by wayne362066
Comment options

Hello @wayne362066 - Anders (author of this library here). I work at Bitwarden and we built the Passwordless API specifically for your use case.

It's a hosted API that takes care of the security and complexity of operating a fido2 server. All you need is to call the API form your app.

I would advise you to test our API, it's free (or cheap) to use depending on your workload:

Marketing site: https://bitwarden.com/products/passwordless/

Docs: https://docs.passwordless.dev/

Developer API signup: https://admin.passwordless.dev/signup

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #490 on January 15, 2024 17:30.

AltStyle によって変換されたページ (->オリジナル) /