Refactoring and more implementation

This commit is contained in:
David J. Allen 2024-02-24 21:05:05 -07:00
parent ac80ba929c
commit eb43261b91
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
5 changed files with 293 additions and 229 deletions

View file

@ -116,7 +116,7 @@ func (p *IdentityProvider) FetchServerConfig(url string) error {
return fmt.Errorf("failed to create a new request: %v", err)
}
client := &http.Client{}
client := &http.Client{} // temp client to get info and not used in flow
res, err := client.Do(req)
if err != nil {
return fmt.Errorf("failed to do request: %v", err)