0

I've developed a Java web application in which a user can login using his/her (Yahoo)/(Google)/(Google Marketplace) account. It's done using OpenID. I actually used the sample code provided on Google itself for (writing first Google Marketplace application).

Now, I've to identify whether the user is a (Google Marketplace) user or not.

How can I do this?

S.L. Barth
  • 7,954
  • 71
  • 47
  • 62
Main Pal
  • 419
  • 4
  • 14
  • 1
    The openid contains the url of the server providing the id. You should be able to tell yahoo/google very easily from that. google/google marketplace could be the same as they provide a single id. – Peter Lawrey May 19 '12 at 06:43
  • Thanks for your reply, Peter. That's right. I can use oauth as if you say, but I got the requirement to differentiate "google marketplace" users from "google" and "yahoo". – Main Pal May 19 '12 at 07:19

0 Answers0