org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }

GitHub | westhusing | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    invalid_request - OAuth 2 parameters can only have a single value: grant_type

    GitHub | 7 months ago | westhusing
    org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
  2. 0

    Can't register/login using oauth user with non ascii letters in its fullname

    GitHub | 2 years ago | i-chess
    org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_grant", "error_description" : "Code was already redeemed." }
  3. 0

    Gerrit OAuth2 issue

    Google Groups | 7 months ago | Rangaraj R
    org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Suddenly getting Google OAuth failures for all users

    GitHub | 7 months ago | jpitt42
    org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }

    Root Cause Analysis

    1. org.scribe.exceptions.OAuthException

      Cannot extract an acces token. Response was: { "error" : "invalid_request", "error_description" : "OAuth 2 parameters can only have a single value: grant_type" }

      at com.googlesource.gerrit.plugins.oauth.Google2Api$GoogleJsonTokenExtractor.extract()
    2. com.googlesource.gerrit
      GoogleOAuthService.getAccessToken
      1. com.googlesource.gerrit.plugins.oauth.Google2Api$GoogleJsonTokenExtractor.extract(Google2Api.java:163)
      2. com.googlesource.gerrit.plugins.oauth.Google2Api$GoogleOAuthService.getAccessToken(Google2Api.java:112)
      3. com.googlesource.gerrit.plugins.oauth.GoogleOAuthService.getAccessToken(GoogleOAuthService.java:221)
      3 frames
    3. com.google.gerrit
      OAuthWebFilter.doFilter
      1. com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:98)
      2. com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:109)
      2 frames
    4. com.google.gwtexpui
      CacheControlFilter.doFilter
      1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:73)
      1 frame
    5. com.google.gerrit
      RequestContextFilter.doFilter
      1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:117)
      2. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:136)
      3. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:105)
      4. com.google.gerrit.httpd.RequestContextFilter.doFilter(RequestContextFilter.java:75)
      4 frames
    6. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
      2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)
      3. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)
      4. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)
      5. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)
      5 frames
    7. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      10. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      12. org.eclipse.jetty.server.Server.handle(Server.java:499)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      17 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame