Closed wagner-petrosoft closed 1 year ago
Hello @wagner-petrosoft
The redirect to the login page is expected if the token (or user) could not be validated. Recreate the token for the Gitlab-bot user in OpenProject and use the new one in Gitlab. The log shows a very short token string in the url:
Started GET "/webhooks/gitlab?key=ae278268" for 10.255.0.3
Regards, Ben
Hello, it's working now. I put the same token from the readme, not the access token. If i put the user token, the test button on gitlab gives a 500 error.
I will send a PR with a change in Readme to aware other users. Thanks for your attention!
Wagner Reck
Hello. We just build a docker image following the readme file and get gitlab tab work in open project's work packages.
After that, we creat a user capable of write comments in the work packages. Generate a token and configure the web hook in our gitlab instance.
But after this, the webhook got a 200 respone, but no data is shown on the work packages. I get this logs from openproject instance. Is expected the redirect to login page?
The Parameters contain the following Open project tag:
"title"=>"Draft: Aplicacao de novo tema OP#91"
this is the empty Gitlab tab
Gitlab version: 15.6.2-ee Open project: 12.4.2 both using ldap to login. Gitlab-bot was created as a local user.
Thanks in advance.