Probe every access review connector on status check
Bad API keys and expired OAuth tokens showed Connected because probes ran only for OAuth2 and many providers had no ProbeURL. Add a registry ProbeConnection dispatcher with static, dynamic, and custom probes so all 41 providers are checked on demand. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -35,10 +35,8 @@ func neonRegistration() *Registration {
|
||||
// can belong to several organizations; the operator supplies the
|
||||
// org ID (org-...) of the one to review.
|
||||
//
|
||||
// ProbeURL is intentionally empty: the connection probe runs only
|
||||
// for OAuth2 connections, so it would be dead config for an
|
||||
// API-key provider; a dead key surfaces on the first ListAccounts.
|
||||
SupportsAPIKey: true,
|
||||
BuildProbeURL: buildNeonProbeURL,
|
||||
ExtraSettings: []ExtraSetting{
|
||||
{Key: "organizationId", Label: "Organization ID", Required: true},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user