A quick demo for facebook oauth third party login with flask.
- Install
mkcert
on MacOS for creating local version certificate
brew install mkcert
- Then create a localhost cert
mkcert localhost
- Then you will get the cert file
localhost.pem
localhost-key.pem
pip install -r requirements.txt
python app.py
and click fb login
link, and you will get access_token
for facebook login.