Piao Ming
Piao Ming

Reputation: 23

How can I test oAuth2 in localhost testing environment?

I am working with flask application and I want to add login function with Facebook account. All code work is done but facebook need domain. When I used localhost it shows errors. How can I handle this one?

Upvotes: 0

Views: 1223

Answers (1)

Gary Archer
Gary Archer

Reputation: 29293

For my local development with OAuth I get round this type of problem via the hosts file - it also helps me to run a more real world local setup.

Would that work for you? developer-domain-setup

Upvotes: 1

Related Questions