jenkinsci / azure-ad-plugin

Authentication and Authorization with Azure AD
https://plugins.jenkins.io/azure-ad/
MIT License
27 stars 56 forks source link

Provide correct key discovery url for sovereign clouds #571

Closed timja closed 1 month ago

timja commented 1 month ago

Fixes https://github.com/jenkinsci/azure-ad-plugin/issues/570 Fixes https://github.com/jenkinsci/azure-ad-plugin/issues/189

Testing done

Tested that you can still login with the standard environment Changed the environment and saw that I got redirected to us gov clouds but I can't test it actually works end 2 end

### Submitter checklist
- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue