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

Jenkins is not working with Microsoft GCC HIGH tenant SSO using azure active directory #640

Open
Judedouard3 opened this issue Nov 12, 2024 · 6 comments

Comments

@Judedouard3
Copy link

Jenkins and plugins versions report

Environment
Paste the output here

Microsoft GCC HIGH

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux Rocky 9 and no agent.

Reproduction steps

step 1. created api and provide permissions.
step 2. configured Url on both MS and Jenkins.
step 3. installed entra ID on jenkins
step 4. configured azure active directory in jenkins with credentials and chose azure goverment L4
step 5. verify user on MS AAD can be found (Yes)
step 6. save and add user to a project. I have to disable graph in order for users and groups to populate.
step 7. log out from jenkins under admin account that was created when jenkin was first installed.
step 8. loging using AAD with SSO. I can see my tenant IDs to login
step 9. the web address used for jenkins comes with error saying this site is taking too long to load. the site and the IP are whitelisted, and DNS entry is registered.

Expected Results

Expected to login and used jenkins. I followed the instructions in commercial and jenkins and SSO works fine.

Actual Results

Site is taking too long error.

Anything else?

No response

Are you interested in contributing a fix?

No response

@timja
Copy link
Member

timja commented Nov 12, 2024

Is there any errors in the server log saying which endpoint is timing out?

@Judedouard3
Copy link
Author

Is there any errors in the server log saying which endpoint is timing out?

No, i do not see that.

Image

@timja
Copy link
Member

timja commented Nov 12, 2024

What do you see in the browser network tools for what requests are being made?

e.g. is it redirecting to microsoft or the Jenkins URL, where is the timeout?

@Judedouard3
Copy link
Author

What do you see in the browser network tools for what requests are being made?

e.g. is it redirecting to microsoft or the Jenkins URL, where is the timeout?

It is redirecting to the site I use for redirect url in both Jenkins and aad api

@timja
Copy link
Member

timja commented Nov 13, 2024

so its timing out accessing your Jenkins instance? (you could add mock urls to describe it, e.g. the real aad one, and a fake Jenkins one

@Judedouard3
Copy link
Author

so its timing out accessing your Jenkins instance? (you could add mock urls to describe it, e.g. the real aad one, and a fake Jenkins one

could be a possibility. when i added the ip address as the host on aad, it didn't work either. even http://localhost.com. i tried different url same taking too long result.

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