29
votes
6answers
11k views

Oauth for Google API example using Python / Django

I am trying to get Oauth working with the Google API using Python. I have tried different oauth libraries such as oauth, oauth2 and djanog-oauth but I cannot get it to work (including the provided ...
19
votes
7answers
4k views

How do I develop against OAuth locally?

I'm building a Python application that needs to communicate with an OAuth service provider. The SP requires me to specify a callback URL. Specifying localhost obviously won't work. I'm unable to ...
15
votes
3answers
1k views

Google App Engine OAuth endpoints throwing 400 in production

I implemented the experimental OAuth support for Google App Engine using Python, and have it working locally, but the endpoints are throwing a 400 when I deploy to appspot. For example, the url ...
12
votes
2answers
5k views

How to make Facebook Login possible in Django app ?

I have created a Django application. The app has a login functionality. Can somebody help to find a way to make it possible to login using Facebook credential or point me some tutorials to implement ...
11
votes
4answers
8k views

Python: OAuth Library

Is there a full flegged python library for oauth? I haven't found any that handle reissuing of oauth tokens once they expire (Step 5 on the Yahoo OAuth flow). So what is the most complete? I tried ...
9
votes
3answers
2k views

Using Google OAuth2 with Flask

Can anyone point me to a complete example for authenticating with Google accounts using OAuth2 and Flask, and not on App Engine? I am trying to have users give access to Google Calendar, and then use ...
9
votes
3answers
7k views

OAuth 2.0 Tutorial?

I'm writing a REST web service on twisted and I want to use OAuth 2.0 for authorization. Is there a tutorial out there to help me write the OAuth server without having to read the entire spec? I know ...
9
votes
3answers
5k views

Using Google OAuth on localhost

I started to use OAuth with Python and Django. I need it for Google APIs. I working on localhost, so I can't register a domain for url-callback. I've read about that Google OAuth could be used with ...
8
votes
3answers
6k views

Implementaion HMAC-SHA1 in python

I am trying to use the OAuth of a website, which requires the signature method to be 'HMAC-SHA1' only. I am wondering how to implement this in Python?
8
votes
5answers
4k views

oauth google using python

i am fairly new to programming for web. and i want to start from scratch here. i tried to search the net but ended up completely confused. now what i want to learn is how to authenticate a google ...
8
votes
1answer
3k views

httplib CannotSendRequest error in WSGI

I've used two different python oauth libraries with Django to authenticate with twitter. The setup is on apache with WSGI. When I restart the server everything works great for about 10 minutes and ...
8
votes
1answer
2k views

How to implement authentication for REST API?

I'm creating a web based service that I want to expose as a REST API so that developers are able to create apps using it. I want developers to be able to create/manage user accounts and authenticate ...
8
votes
1answer
568 views

Programmatically Revoke OAuth token for google account

So here at the end of the page says a way to be able to revoke this token via the AuthSub api (the old api). I manage the whole authentication system with the new api OAuth and when I try to revoke ...
7
votes
2answers
3k views

Getting started with Twitter\OAuth2\Python

I'm attempting to connect to twitter using python, and I'm finding it really frustrating. Everything I read suggests that I need a consumer key, a consumer secret, an access key and an access secret ...
7
votes
3answers
1k views

Twitter library for App Engine Python?

I am looking for an Python library which is compatible with app engine and provides an interface to the Twitter API. I found the python-twitter project - has anyone has used it on app engine?

1 2 3 4 5 22
15 30 50 per page