more work on social login
This commit is contained in:
21
README.md
21
README.md
@@ -7,6 +7,7 @@ This README aims to document functionality of backend as well as required steps
|
||||
- [First Steps](#first-steps)
|
||||
- [Load location data](#load-location-data)
|
||||
- [Load taxonomy data](#load-taxonomy-data)
|
||||
- [Social Auth](#social-auth)
|
||||
- [Company Endpoints](#company-endpoints)
|
||||
- [Product Endpoints](#product-endpoints)
|
||||
- [Core Endpoints](#core-endpoints)
|
||||
@@ -61,6 +62,26 @@ This data serves as initial Tags
|
||||
To load initial set of tags: `python manage.py addtaxonomy`
|
||||
|
||||
|
||||
|
||||
## Social Auth
|
||||
|
||||
Use your credentials from social media network to create acount and log in.
|
||||
|
||||
Backend must be registered with every service that we want to use it with.
|
||||
|
||||
During registration, provide a `Callback URL`, where the app can receive requests.
|
||||
You are given `client key` and `client secret` tokens, used to validate login requests.
|
||||
|
||||
### Facebook
|
||||
|
||||
- Go to `developers.facebook.com/`
|
||||
- click on `My Apps`
|
||||
- On `Add a New App`, click on `Website`
|
||||
- Click on `Create App ID`
|
||||
- On the next screen click on `Skip Quick Start`
|
||||
- grab the `App ID` and `App Secret`
|
||||
- in `Settings / Basic`, click on the button `+ Add Platform` and add a website, and other info
|
||||
|
||||
## Company Endpoints
|
||||
|
||||
### CompanyViewSet
|
||||
|
||||
Reference in New Issue
Block a user