Skip to content

V2.0#66

Open
mkalioby wants to merge 37 commits intomainfrom
v2.0
Open

V2.0#66
mkalioby wants to merge 37 commits intomainfrom
v2.0

Conversation

@mkalioby
Copy link
Copy Markdown
Owner

@mkalioby mkalioby commented Mar 27, 2026

2.0.0

  • Breaking Change: Moved templates to passkeys folder and renamed the templates. thanks to @ganiyevuz and @smark-1
    • PassKeys.html -> passkeys/manage.html
    • PassKeys_base.html -> passkeys/base.html
    • check_passkeys.js -> passkeys/check.js
    • passkeys.js -> passkeys/passkeys.js
    • modal.html -> passkeys/modal.html
  • New: DRF API module (passkeys.api) — REST endpoints for passkey registration, authentication, and management. thanks to @ganiyevuz
  • New: Pluggable token backend — auto-detects SimpleJWT, DRF TokenAuth, or session-based auth. thanks to @ganiyevuz
  • New: Service layer (passkeys.api.service) — session-independent FIDO2 logic with signed state tokens. thanks to @ganiyevuz
  • New: Optional install via pip install django-passkeys[drf] or pip install django-passkeys[drf-jwt]. thanks to @ganiyevuz
  • Added: Support for Google new WebAuthn immediate mediation API (with allow/disallow password login) authentication. for more details check Google's announcement.
  • Fix: add @login required to passkey registration views. thanks to @rafaelurbeno for reporting the issue.

@mkalioby
Copy link
Copy Markdown
Owner Author

@ganiyevuz, if you have time, can you check this version. It includes your DRF implemention and lot of enhancements previously suggested by you and other users, Also, I added an example for DRF and added couple of JS files to handle the passkey interface with the browser. I'll document these tomorrow after I move the docs to readthedocs.

@ganiyevuz
Copy link
Copy Markdown

@mkalioby yes i will manually test both template and drf based aproach then come with updates there was some changes on my end in new custom auth backend i will include this also for drf

@mkalioby
Copy link
Copy Markdown
Owner Author

@ganiyevuz thanks. the documentation is available at https://django-passkeys.readthedocs.io/en/v2.0/

@ganiyevuz
Copy link
Copy Markdown

@mkalioby i tested and aplied all my changes and for now i dont have any updates or tests left so u can finalize them in your end

github-actions bot and others added 3 commits March 28, 2026 15:33
)

* Updated coverage.svg

* Fix API issues, add JWT support, improve example templates and docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mkalioby mkalioby marked this pull request as draft March 28, 2026 15:38
@mkalioby mkalioby marked this pull request as ready for review March 28, 2026 15:38
ganiyevuz and others added 6 commits March 28, 2026 18:41
)

* Updated coverage.svg

* Fix API issues, add JWT support, improve example templates and docs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mkalioby
Copy link
Copy Markdown
Owner Author

@ganiyevuz v2.0rc2 is released on pypi, thanks for help

@ganiyevuz
Copy link
Copy Markdown

@mkalioby im happy to be part of it

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.

2 participants