Is there an open python application library for opening appengine applications in the application market

I am looking for information on how to get the app app app app for Google announced the Google app market.

The page at http://code.google.com/googleapps/marketplace/sso.html does not have the python openid apps-discovery library, which seems to be a sticking point.

Has anyone ported the appengine app to the market? or know about the existence of the python open-apps library for opening applications? or do you have a schedule?

updated: see comment re: python openid vs library standard library that supports "apps-discovery"

updated: apparently this is currently not possible, but soon he will see http://www.google.com/support/forum/p/apps-apis/thread?tid=52e36f012c2436c3&hl=en

+4
source share
2 answers

I answered almost the same question on Google Apps to log in to django . Check this.

Edited by:

Actually, your question can be divided into two related questions.

  • How to create an application for the Google Marketplace?
  • How do I authenticate with a Google Apps account to log in to your application?

You really don't need to authenticate with Google Apps. But since your user already has a Google Apps account, it's nice to let the user log in with an existing account, rather than creating your own user management module from scratch.

For the first question, when you register your application on the Google Marketplace, you provide your login URL. This is in the format http://yourdomain.com/auth/domain.com . The domain.com part is the domain name of the organization that decided to install your application. When one organization installs your application, they will use this login URL as an entry point. Your application determines what to do with the request. Typically, you redirect the user to the login page. Since you want the user to log in with your Google Apps account, you can create a login request and redirect the user to the Google server. And this part is related to the second question.

In the second question, you can allow the user to log into your application with your Google Apps account using the Google AuthSub or OpenID authentication mechanism. Since you are requesting the openid library, I think you have chosen openid. If you want to use openid for authentication, you should pay attention to the Google method for discovery, which is not part of the standard library. Check out my answer in another question that I answered for more information.

I just downloaded my patched version of python-openid-2.2.4 on github. Here is the link: http://github.com/adieu/python-openid/

BTW: you really don't need to ask the user to put some file on their server. But if they do, they can change the default openid source authentication server.

Maybe I should write a blog post about this problem :)

+3
source

The python-openid support library seems to support detection.

0
source

Source: https://habr.com/ru/post/1303751/


All Articles