gwt-oauth2 | #SDK | OAuth 2.0 Library for GWT

 by   freddyboucher Java Updated: 1 year ago - Current License: Apache-2.0

Download this library from

Build Applications

kandi X-RAY | gwt-oauth2 REVIEW AND RATINGS

[gwt-oauth2](gwt-oauth2) : The core library. [sample](sample) : A demo application.


  • gwt-oauth2 has a low active ecosystem.
  • It has 13 star(s) with 5 fork(s).
  • It had no major release in the last 12 months.
  • On average issues are closed in 301 days.
  • It has a neutral sentiment in the developer community.

quality kandi

  • gwt-oauth2 has no issues reported.


  • gwt-oauth2 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.


  • gwt-oauth2 is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.


  • gwt-oauth2 releases are not available. You will need to build from source code and install.
  • Build file is available. You can build the component from source.
Top functions reviewed by kandi - BETA

Coming Soon for all Libraries!

Currently covering the most popular Java, JavaScript and Python libraries. See a SAMPLE HERE.
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.

gwt-oauth2 Key Features

[gwt-oauth2](gwt-oauth2) : The core library

[sample](sample) : A demo application


Fix: Avoid Google api.js name collision by renaming oauth2 to gwtOAuth2


Expose TokenStore and add TokenStore#keySet and TokenStore#remove


Fix: Uncaught TypeError: Cannot set property innerText of null

Add viewport meta to have a readable message on Mobile device


Update GWT to 2.9.0

Migrate JSNI to JsInterop / elemental2


Map<String, String> result - values are still URL encoded #10


Map<String, String> result - values are URL encoded #8

Callback is never consumed when manually closing the login window #9


Initial release

gwt-oauth2 examples and code snippets

  • default


1\. Add the Maven dependency

2\. Add `<inherits name="io.github.freddyboucher.gwt.oauth2.OAuth2"/>` to your GWT module XML file.

3\. Add the `generateJsInteropExports` compilation option to your project.
If you use the tbroyer's [Maven Plugin for GWT]( it should look like:

4\. Use it as follow:
public class App implements EntryPoint {
  public void onModuleLoad() {
    Button button = new Button("Google", (ClickHandler) event -> {
      AuthRequest req =
          new AuthRequest("https", "", "o/oauth2/auth", "GOOGLE_CLIENT_ID")
              .setParameter("scope", "email profile openid");
      Auth.get().login(req, new Callback<Map<String, String>, Throwable>() {
        public void onFailure(Throwable reason) {
          GWT.log(null, reason);

        public void onSuccess(Map<String, String> result) {
          String token = result.get("access_token");
      }, "access_token");

Release Notes


No Community Discussions are available at this moment for gwt-oauth2.Refer to stack overflow page for discussions.

No Community Discussions are available at this moment for gwt-oauth2.Refer to stack overflow page for discussions.

Community Discussions, Code Snippets contain sources that include Stack Exchange Network


No vulnerabilities reported

INSTALL gwt-oauth2

You can use gwt-oauth2 like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the gwt-oauth2 component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer For Gradle installation, please refer .


For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

Implement gwt-oauth2 faster with kandi.

  • Use the support, quality, security, license, reuse scores and reviewed functions to confirm the fit for your project.
  • Use the, Q & A, Installation and Support guides to implement faster.

Discover Millions of Libraries and
Pre-built Use Cases on kandi