Skip to content

Commit

Permalink
fix: metadata endpoint shouild be public (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Oct 27, 2022
1 parent bdf00ce commit 89f13e4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,9 +593,7 @@ static String getSPMetadataFilePath() {
* @return the http response.
*/
@SuppressWarnings("unused")
@RequirePOST
public HttpResponse doMetadata(StaplerRequest request, StaplerResponse response) {
Jenkins.get().checkPermission(Jenkins.ADMINISTER);
return new SamlSPMetadataWrapper(getSamlPluginConfig(), request, response).get();
}

Expand Down

0 comments on commit 89f13e4

Please sign in to comment.