Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardonels/passkey_engeneering_thesis_project
This project's aim is to explore the Django framework and what can allow you to do with it. Due to its nature is mainly written in python (3.11) and html (for front-end templates). The goal is to have someting like instagram, like a simple portfolio.
https://github.com/leonardonels/passkey_engeneering_thesis_project
django django-framework django-project pythonanywhere webauthn webauthn-demo
Last synced: about 8 hours ago
JSON representation
This project's aim is to explore the Django framework and what can allow you to do with it. Due to its nature is mainly written in python (3.11) and html (for front-end templates). The goal is to have someting like instagram, like a simple portfolio.
- Host: GitHub
- URL: https://github.com/leonardonels/passkey_engeneering_thesis_project
- Owner: leonardonels
- Created: 2023-05-18T17:01:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T12:07:38.000Z (4 months ago)
- Last Synced: 2024-11-24T10:27:39.572Z (2 months ago)
- Topics: django, django-framework, django-project, pythonanywhere, webauthn, webauthn-demo
- Language: Python
- Homepage: https://leonardonels.eu.pythonanywhere.com
- Size: 175 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mysite
This is a university project for my Computer Engeneering thesis that aims to demonstrate the implementation of a secure platform for users to access and share content while ensuring their privacy using Passkey authentication.
The data collected is used exclusively to manage user access to the site and ensure a safe browsing experience. User data is not sold, shared, or distributed to third parties. RAW does not store images or other multimedia files on our servers. Any images or content displayed through the site are linked to third-party services. We are not responsible for the content or management of these files by third-party platforms.WARNING: Passkey sign-up is not implemented yet so to use passkey create a profile with username and password first. From there you can test otp functionality as well as passkeys.
To test it by yourself:
1. clone this repository and rename the main folder to mysite
2. highly suggested to create a virtuale enviroment, 'pipenv' was used during developement
3. if you have decided to use pipenv enter the virtual enviroment
$ pipenv shell
4. install all required packages, they are stored in the requirements.txt file
$ pip install -r requirements.txt
5. start the server
$ python manage.py runserver
6. to test it go to http://localhost:8000
i know that tecnically localhost:8000 and 127.0.0.1:8000 are almost the same,
but localhost is recognised as a trusted source, 127.0.0.1:8000 is not and webauth features would not work![Screenshot 2024-03-27 alle 10 51 19](https://github.com/leonardonels/mysite/assets/81677769/2aeef6b5-d33f-41db-82c2-b69c248b5d57)
![Screenshot 2024-03-27 alle 10 52 00](https://github.com/leonardonels/mysite/assets/81677769/7396a629-a5d9-4387-aeae-b66261a041bb)
![Screenshot 2024-03-27 alle 10 52 59](https://github.com/leonardonels/mysite/assets/81677769/0bfc6bfe-d210-499a-8cc6-34979462af02)
![Screenshot 2024-03-27 alle 10 53 04](https://github.com/leonardonels/mysite/assets/81677769/e7e56faf-b66e-4d31-8912-ed619a51b6fb)
![Screenshot 2024-03-27 alle 10 53 15](https://github.com/leonardonels/mysite/assets/81677769/d11fcd7d-0dec-48d0-88ad-4204d2e43d2f)notes:
if a registration_with_passkey fails the username is not removed form db.