func()

in proxy/lib/proxy/proxy.go [186:195]


func (s *Service) wellKnownSmartConfigure(w http.ResponseWriter, r *http.Request) {
	res := &WellKnownSmartConfigureResponse{
		AuthorizationEndpoint: s.opts.WellKnownAuthorizationEndpoint,
		TokenEndpoint:         s.opts.WellKnownTokenEndpoint,
		Capabilities:          s.opts.WellKnownCapabilities,
	}
	w.Header().Set("Content-Type", "application/json")
	httputils.WriteCorsHeaders(w)
	httputils.EncodeJSON(w, res)
}