Skip to content

Conversation

@anish5256
Copy link
Collaborator

This PR introduces the following changes to the DRFPasswordless repository:

AuthToken Support: Integrated the AuthToken app from the Django Rest Framework (DRF) into DRFPasswordless to enable token-based authentication for passwordless login. This will allow the app to issue and manage tokens for authenticated sessions.

Device Information:

Added support for device ID and device type fields to enhance user authentication and security.
The device ID is a 64-character unique identifier to distinguish user devices.
The device type field records the type of device (e.g., mobile, tablet, etc.) being used, providing better context for authentication events.
These changes are aimed at improving the security and usability of DRFPasswordless, enabling token-based authentication while supporting multi-device management.

Key Changes:
Integrated AuthToken app for token support.
Added new fields:
device_id (64-character unique identifier).
device_type (specifies the type of device).
Updated necessary views and serializers to handle the new fields and token support.
This enhancement will make the DRFPasswordless library more versatile, especially for apps that rely on token-based authentication systems and device tracking. Please review the changes and suggest any improvements.

@anish5256 anish5256 merged commit 7c85d31 into nishantonline1:master Oct 4, 2024
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.

1 participant