Revert "Enable SRV/.well-known lookups (#8)" (#9)

This reverts commit 36723e7b5f.
This commit is contained in:
David Baker
2023-07-11 18:27:56 +01:00
committed by GitHub
parent 36723e7b5f
commit 9fe823ce49

View File

@@ -70,7 +70,7 @@ func exchangeOIDCToken(
return nil, errors.New("No results returned from server name resolution!")
}
client := fclient.NewClient(fclient.WithWellKnownSRVLookups(true))
client := fclient.NewClient()
// validate the openid token by getting the user's ID
userinfo, err := client.LookupUserInfo(
ctx, resolveResults[0].Host, token.AccessToken,