(u string)
| 676 | } |
| 677 | |
| 678 | func extractHost(u string) string { |
| 679 | parsed, err := url.Parse(u) |
| 680 | if err != nil { |
| 681 | return u |
| 682 | } |
| 683 | return parsed.Hostname() |
| 684 | } |
| 685 | |
| 686 | func (h *OidcHandler) oidcIssuerURL() string { |
| 687 | if h.resolved != nil { |
no outgoing calls
no test coverage detected