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" }

Google Groups | Rangaraj R | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Gerrit OAuth2 issue

    Google Groups | 8 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" }
  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

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

    GitHub | 8 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" }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Suddenly getting Google OAuth failures for all users

    GitHub | 8 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:183)
      3 frames
    3. com.google.gerrit
      OAuthWebFilter.doFilter
      1. com.google.gerrit.httpd.auth.oauth.OAuthSession.login(OAuthSession.java:92)
      2. com.google.gerrit.httpd.auth.oauth.OAuthWebFilter.doFilter(OAuthWebFilter.java:123)
      2 frames
    4. com.google.gwtexpui
      CacheControlFilter.doFilter
      1. com.google.gwtexpui.server.CacheControlFilter.doFilter(CacheControlFilter.java:70)
      1 frame
    5. com.google.gerrit
      RequestContextFilter.doFilter
      1. com.google.gerrit.httpd.RunAsFilter.doFilter(RunAsFilter.java:113)
      2. com.google.gerrit.httpd.AllRequestFilter$FilterProxy$1.doFilter(AllRequestFilter.java:64)
      3. com.google.gerrit.httpd.AllRequestFilter$FilterProxy.doFilter(AllRequestFilter.java:57)
      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:1636)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:564)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:219)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:498)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
      10. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:92)
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
      12. org.eclipse.jetty.server.Server.handle(Server.java:461)
      13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)
      14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
      15. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
      17. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
      17 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame