Niall Lonergan
Niall Lonergan

Reputation: 901

SSL is required PHP api Codeigniter

I'm building a Twitter application using Codeigniter however when I run the test function it directs to URL: 'http://api.twitter.com/oauth/authorize?oauth_token=' and the screen has just 'ssl is required'. I am running this on localhost.

Is there a fix or workaround?

Upvotes: 0

Views: 188

Answers (1)

Kevin Sandow
Kevin Sandow

Reputation: 4033

You should probably make the calls via HTTPS, which is what the error is telling you. Authentication is supposed to be secure, that's why the app is enforcing SSL.

Upvotes: 2

Related Questions