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

GitLab Login broken because of CloudFlare checks #1435

Closed
3 tasks done
anebi opened this issue Dec 26, 2020 · 8 comments
Closed
3 tasks done

GitLab Login broken because of CloudFlare checks #1435

anebi opened this issue Dec 26, 2020 · 8 comments

Comments

@anebi
Copy link

anebi commented Dec 26, 2020

I confirm (by marking "x" in the [ ] below: [x]):


Summary

Environment

  • Operating System: Mac OS Catalina
  • Mattermost Desktop App version:
  • Mattermost Server version: Version: 5.28.0

Steps to reproduce

  1. Integrate Mattermost login with GitLab
  2. Click to login using GitLab on Mattermost Desktop client

Expected behavior
Shows GitLab login page
Observed behavior
CloudFlare browser check happens where redirect never happens

Images

Screenshot 2020-12-26 at 23 09 51

Screenshot 2020-12-26 at 23 24 48

@Willyfrog
Copy link
Contributor

hello and thanks for reporting!

most likely we are blocking some requests that are preventing gitlab to operate. can you try again with the server console opened and see what's going on in the network tab?

@anebi
Copy link
Author

anebi commented Dec 27, 2020

Hi,

Thank you very much for your fast reply.

From what I see it fails on GitLab sign_in returning 503.

I am attaching screenshot from network tab and also the export. I hope that this info will be useful.

Regards,
Ali Nebi

devtools-export.har.zip
Screenshot 2020-12-27 at 22 31 39

@amyblais
Copy link
Member

amyblais commented Jan 4, 2021

@Willyfrog Do the errors above indicate an issue? Is this affecting all Gitlab logins?

@Willyfrog
Copy link
Contributor

no, they don't

I made a couple of quick tests and could reproduce, but I still have to dig into the issue. Most likely something is catching the requests and dropping them.

@Willyfrog
Copy link
Contributor

created a ticket for it: https://mattermost.atlassian.net/browse/MM-31626

@Jenjen1324
Copy link

Would also be resolved by implementing OAuth securely: #1451

@Willyfrog
Copy link
Contributor

Willyfrog commented Jan 22, 2021

yes, I agree and that's one of the big changes I'd like to see this year, but implementing OAuth would take some resources that we currently don't have as we are working on some other features. In the meantime, this is a patch to enable users to log into their mattermost instance. I hope that makes sense, but as always feel free to discuss it either here or in the desktop channel in the community server

@Willyfrog
Copy link
Contributor

closing the issue, we are currently in the process to generate an RC with this patch

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

4 participants