Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikeasamoahansah/django-all-auth
A simple django social configuration project with Google and AppleID support
https://github.com/ikeasamoahansah/django-all-auth
django django-rest-framework
Last synced: about 2 months ago
JSON representation
A simple django social configuration project with Google and AppleID support
- Host: GitHub
- URL: https://github.com/ikeasamoahansah/django-all-auth
- Owner: ikeasamoahansah
- Created: 2024-06-18T22:35:30.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-27T23:57:39.000Z (6 months ago)
- Last Synced: 2024-06-28T03:20:30.632Z (6 months ago)
- Topics: django, django-rest-framework
- Language: Python
- Homepage:
- Size: 35.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Django Social OUATH Integration Backend
#### Setup
- set up a virtual environment
```
python3 -m virtualenv .venv
```
- Install requirements files
```
pip install -r requirements.txt
```#### Oauth Google Setup
- Head over to api/api/settings.py
- In the settings.py file locate the ```SOCIAL_AUTH_GOOGLE_OAUTH2_KEY``` and ```SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET``` variables
- Head over to [Google API](https://console.cloud.google.com) to get your secret keys
- Replace your keys with that in the variables#### Oauth for AppleID
- Head over to [Apple for Developers](https://developer.apple.com) to get your keys
- Replace your keys with that in the variables#### Running the API
- Use the virtual environment
```
source .venv/bin/activate
```
- Migrate changes
```
python api/manage.py migrate
```
- Run the server
```
python api/manage.py runserver
```