Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me OAUTH suddenly Error (Server Error) #141

Open
chjobaby opened this issue Apr 23, 2020 · 6 comments
Open

Help me OAUTH suddenly Error (Server Error) #141

chjobaby opened this issue Apr 23, 2020 · 6 comments

Comments

@chjobaby
Copy link

chjobaby commented Apr 23, 2020

[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 !

@chjobaby
Copy link
Author

Not Fixed? Help me @davido ?

@davido
Copy link
Owner

davido commented Apr 24, 2020

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?

@chjobaby
Copy link
Author

chjobaby commented Apr 25, 2020

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 !

@chjobaby
Copy link
Author

@davido Help me?

@davido
Copy link
Owner

davido commented Apr 29, 2020

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/

@chjobaby
Copy link
Author

chjobaby commented May 8, 2020

Ok, thanks @davido

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants