How do I use OAuth within my GWT application?

后端 未结 3 1528
北恋
北恋 2020-12-10 04:14

How do I use OAuth within my Java GWT application? In particular, I want to get a list of users in my Google Aps domain, using this API:

http://code.google.com/googl

3条回答
  •  我在风中等你
    2020-12-10 05:02

    This tutorial by Matt Raible is easily the best one I've seen so far on OAuth and gwt. He also has a very good picture depicting the authentication flow, which I always find help. However, as Matt himself says, the solution is not 100% reliable, but it might still get you part of the way.

    With this in mind, it might be better to just go with a pure javascript implementation of it. You'll find one such implementation right here. This SO thread might come in handy to you if you chose that path.

    Best of luck to you.

提交回复
热议问题