App Engine provides an API for easily creating an OAuth provider. In this blog post, I’ll describe the following steps:
- Create and deploy an App Engine application the implements the OAuth API
- Add a new domain to your Google Account. Verify this domain.
- Connecting an OAuth client to make requests against your application
I’ll avoid a deep explanation of OAuth for now. We can find everything you need to know about OAuth in the Beginner’s guide to OAuth.
Get the code
The code that goes along with this blog post is available here:
The two most important files are:
- python/oauth_client.py
- src/com/ikai/oauthprovider/ProtectedServlet.java