Giter Club home page Giter Club logo

Comments (3)

wonderfly avatar wonderfly commented on August 20, 2024

From [email protected] on August 21, 2012 13:42:09

Possible solutions:

Add this to AbstractAuthorizationCodeServlet (deprecating getRedirectUri):

protected void process(AuthorizationCodeRequestUrl authorizationUrl) throws IOException {
}

So you can optionally provide your own implementation like:

@OverRide
protected void process(AuthorizationCodeRequestUrl authorizationUrl) {
authorizationUrl.setRedirectUri("...").setState("foo");
}

Alternatively, add this:

protected String getState(HttpServletRequest req) throws ServletException, IOException {
return null;
}

so you can override as follows:

@OverRide
protected String getState(HttpServletRequest req) {
return "foo";
}

Status: Accepted
Owner: [email protected]
Cc: [email protected]
Labels: -Priority-Medium Priority-High Milestone-Version1.11.0 Component-OAuth2

from google-oauth-java-client.

wonderfly avatar wonderfly commented on August 20, 2024

From [email protected] on August 23, 2012 08:05:12

http://codereview.appspot.com/6482051

Status: Started
Labels: -Priority-High Priority-Medium

from google-oauth-java-client.

wonderfly avatar wonderfly commented on August 20, 2024

From [email protected] on August 27, 2012 06:02:10

Status: Fixed

from google-oauth-java-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.