Updated SocialTokenObtainSerializer to support OAuth1 and OAuth2 authentication types
Updated the SocialTokenObtainSerializer to handle both OAuth1 and OAuth2 authentication types, allowing for the exchange of social authentication tokens for Django REST Framework tokens.
Improved validation of input data to ensure that required fields are provided and that the selected provider and authentication type are valid choices.
Refactored the serializer to use constants defined in a separate constants.py file for the valid provider choices, promoting code organization and reusability.
Response from endpoint using a live test twitter tokens
Updated SocialTokenObtainSerializer to support OAuth1 and OAuth2 authentication types
constants.py
file for the valid provider choices, promoting code organization and reusability.Response from endpoint using a live test twitter tokens
closes #18