Question

I have a Java application, and GAE application. Here is what I want to do:

I want GAE account users to authorize in my Java application, and I don't want to use "Sign In with..." solution. Instead I want the users to login from my Java application login page ( e.g providing username and password) and forward this login information to Google Servers.

In other words I want exactly this thing in this page. This webpage uses Google Accounts Service, but the login form, is a custom form that then (I imagine) forwards the data to Google Servers and then logs the user in.

How can I achieve that? What protocols should I use( OAuth, OpenID, GAE services... )?

Was it helpful?

Solution

You can't create a custom login page to Google Accounts. The whole purpose of Google-provided login page is that users trust the page when entering their password. Otherwise anybody could create a login page and start collecting users passwords.

If you need a managed/limited access to users account (with their consent), you should look into OAuth. But in any case this will not give you an option of making a custom login page.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top