-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Eclipse che authentication using GitLab -> Callback URL is invalid #22984
Comments
Hello @AkramMulani [1] https://eclipse.dev/che/docs/stable/administration-guide/installing-che/ |
Hello @tolusha I have already gone through the mentioned documentation, but my question is regarding the user authentication in dashboard, like by default there is "Dex" and I wanted to replace it by GitLab. So I think we can configure it in CheCluster custom resources. I had change that identity provider with GitLab one. And It's working, I can now sign in using GitLab. But again in the second document you provided, about OAuth for GitLab,
In this the redirect callback URL is given in documentation: But when I gave this url, in the dashboard's login page, after the sign in success, I got the error page of GitLab with message "Invalid callback URL". So I wondering if there is any other callback URL provided in Eclipse che that after successfully sign in it will redirect to it. I have also tried with following, but the same result I found: I'll share snapshots also. Any highlights in this? |
Hello @AkramMulani |
Hello @tolusha I followed official documentation for CheCluster custom resources. Firstly I got the custom resources for che from kubectl configurations, "checluster.yaml". By following the "auth options" table in documentation I have just changed the following tags: |
The fields below are used to configure OIDC provider, not a git provider. |
Ok so any inputs from your side regarding how to configure custom authentication by gitlab/github |
I think, the only way is to confiure OIDC (like dex) to work with gitlab. |
@AkramMulani as I understand, you have successfully sign in with gitlab? Can you share me your setup. I am having the same issue with your initial issue that after login to gitlab it give me the error Callback URL is invalid |
Summary
I have changed the configuration for networking.auth to authenticate using GitLab.
As per the changes, configuration applied successfully, but the issue I encountered that is:
Invalid callback URI. Just after successfully authenticating by GitLab
Relevant information
I have changed the configuration for networking.auth to authenticate using GitLab.
configurations:
As per the changes, configuration applied successfully, but the issue I encountered that is:
Invalid callback URI. Just after successfully authenticating by GitLab
So I request everyone, if anyone know the callback URI after the authentication success?
The text was updated successfully, but these errors were encountered: