Open Br-ian opened 3 years ago
Thanks for the comprehensive report.
I think the error might be here:
Failed to complete OAuth handshake with gitlab at >https://gitlab.
/oauth/token. failed [404] 404 page not found
I think you need to check your gitlab access to that URL.
Please close this issue if you resolve the problem.
Description:
Using OAuth with a self-hosted GitLab instance results in Error in OAuth Server: Failed to complete OAuth handshake. Thus, my users cannot use their GitLab account to login on Rocket.Chat
Steps to reproduce:
Expected behavior:
I expect to be able to authenticate my users against my self-hosted GitLab using OAuth.
Actual behavior:
Server returns a 404 not found: Error in OAuth Server: Failed to complete OAuth handshake with gitlab at https://gitlab./oauth/token. failed [404] 404 page not found
Browser shows an error message: [undefined]
Server Setup Information:
Client Setup Information
Additional context
My setup is behind a Traefik SSL proxy.
OAuth Application in GitLab:
When I test with https://oauthdebugger.com/ everything works,
POST https://gitlab.<my.domain>/oauth/token
(with the correct key/values) results inRelevant logs:
Server:
Brower: