Christian Thieme
Christian Thieme
Currently they are part of the example project.
- currently the html and javascript for the passkeys package is separated into multiple files which can be combined into one html and one javascript file for easier integration -...
- using a namespace for the functions - adapted urls and html
- use of white space is somewhat random - varying approaches in naming functions and variables - code quality could be improved by using an editor that supports PEP8 checks
The success/failure of a api call should depend on the status code returned by the view, not the response body. The response body should be for informational purposes only. Example:...
They should handle invalid request data more gracefully by returning HTTP 400 status code.
In the example project provde an example how to use the standard django login and admin login views since they do more than a simple call to login()
In case something goes wrong the view always returns a server error. The error handling should be more detailed and return meaningfull status codes.
For easier integration add an example howto add this to the example project
The repository contains multiple vendor packages for the sample project which are not necessary for implementation or can be referenced using a cdn - bootstrap - fontawesome - jquery -...