diff --git a/samlidp/shortcut.go b/samlidp/shortcut.go index d361d1fa..f08efe7d 100644 --- a/samlidp/shortcut.go +++ b/samlidp/shortcut.go @@ -110,7 +110,5 @@ func (s *Server) HandleIDPInitiated(w http.ResponseWriter, r *http.Request) { } } - s.idpConfigMu.RLock() - defer s.idpConfigMu.RUnlock() s.IDP.ServeIDPInitiated(w, r, shortcut.ServiceProviderID, relayState) }