Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using OAuth Python service with Google App Engine

Google App Engine provides an experimental, bleeding-edge OAuth service in its Python SDK, but fails to provide simple example to work with. Has anyone succeeded in working with it? If so, could you provide a snippet? 

like image 777
qdii Avatar asked Feb 03 '12 21:02

qdii


People also ask

How do I authenticate Google services in Python?

Go to your environment's terminal app and run pip install google-auth-httplib2 and pip install google-api-python-client. These are both necessary to authenticate our Google's secret credentials and to connect with the spreadsheet so make sure you have them installed.

Does Google oauth2 use JWT?

The signing algorithm in the JWT header must be used when computing the signature. The only signing algorithm supported by the Google OAuth 2.0 Authorization Server is RSA using SHA-256 hashing algorithm. This is expressed as RS256 in the alg field in the JWT header.


1 Answers

Here is a very good tutorial

like image 53
Michele Orsi Avatar answered Sep 30 '22 01:09

Michele Orsi