Open chjobaby opened 4 years ago
Not Fixed? Help me @davido ?
I'm not sure. Is it a new problem? Was it already working? What is your Gerrit and OAuth plugin version? What have you changed?
I'am use Gerrit version: 2.15.2, OAuth plugin Version: 2.14.6, OAuth google I'am change token => login ok => log out=>login again=> Server Error ("error_description": "Malformed auth code.") If change token =>login ok=>log out=>login again=> Server Error ("error_description": "Malformed auth code.") Help me @davido Thanks You !
@davido Help me?
2.15.2, OAuth plugin Version: 2.14.6
Those versions are outdated.
Can you try to upgrade, both Gerrit to the latest release 3.1? And get the latest version of the plugin from GerritForge CI: [1] and try again? Can you reproduce the problem? Try on staging site first?
[1] https://gerrit-ci.gerritforge.com/view/Plugins-master/job/plugin-oauth-bazel-master-master/
Ok, thanks @davido
[HTTP-76] ERROR com.google.gerrit.pgm.http.jetty.HiddenErrorHandler : Error in GET /gerrit/oauth?state=mWQA4B1nh7nKCmgV7kDeP08VU8ngJxQPmORbJLkd9VE&code=4%252FzAEVcCBsSHDMS2pCsItw6DALqG4wGCe8ut4vChL_9_1K7rOx3V3OdkprUtxB0a8W_F4TcJcv4SlajnG1XiwZVws&scope=email+profile+openid+https%253A%252F%252Fwww.googleapis.com%252Fauth%252Fuserinfo.email+https%253A%252F%252Fwww.googleapis.com%252Fauth%252Fuserinfo.profile&authuser=0&hd=domain.com&prompt=none org.scribe.exceptions.OAuthException: Cannot extract an acces token. Response was: { "error": "invalid_grant", "error_description": "Malformed auth code."
Thanks You !