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

Approach for the passkey usage goal #38

Open
Xpirix opened this issue Jan 24, 2025 · 0 comments
Open

Approach for the passkey usage goal #38

Xpirix opened this issue Jan 24, 2025 · 0 comments
Assignees
Labels

Comments

@Xpirix
Copy link
Collaborator

Xpirix commented Jan 24, 2025

Passkeys are built on the Web Authentication API (WebAuthn), which is a W3C standard for secure, passwordless authentication. WebAuthn allows users to authenticate using biometrics (e.g., fingerprint, facial recognition) or hardware security keys.

For this, I would suggest a quite popular library called django-passkeys: https://github.com/mkalioby/django-passkeys.

  1. Install and set up the library
  2. Add the Profile > PassKeys menu that links to a page to manage Passkeys

Image

  1. Add a page to manage PassKeys

Image

  1. Add a Login with PassKey on the login page

Image

  1. Add a banner to invite users to set up their PassKeys

There are some settings that are a bit unclear to me from the library's README which are mentioned here: https://github.com/mkalioby/django-passkeys/blob/d9dbf3b2352229da79e0d56d2060a2d84c78998b/README.md?plain=1#L48-L51

FIDO_SERVER_ID="localhost"      # Server rp id for FIDO2, it the full domain of your project
 FIDO_SERVER_NAME="TestApp"
 import passkeys
 KEY_ATTACHMENT = None | passkeys.Attachment.CROSS_PLATFORM | passkeys.Attachment.PLATFORM
@Xpirix Xpirix added the Size 2 label Jan 24, 2025
@Xpirix Xpirix self-assigned this Jan 24, 2025
@Xpirix Xpirix moved this to Next Sprint in QGIS Websites Maitenance Jan 24, 2025
@Xpirix Xpirix moved this from Next Sprint to This sprint in QGIS Websites Maitenance Feb 19, 2025
@Xpirix Xpirix moved this from This sprint to In Progress in QGIS Websites Maitenance Feb 20, 2025
@Xpirix Xpirix moved this from In Progress to Review in progress in QGIS Websites Maitenance Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Review in progress
Development

No branches or pull requests

1 participant