Register Okta connector and wire API-key settings
Register the Okta provider (SupportsAPIKey, APIKeyAuthScheme SSWS, a required "domain" extra setting, and the driver/name-resolver factories) and add it to the builtin registry. The create-API-key resolver normalizes and validates oktaDomain into OktaConnectorSettings, returning a static INVALID error that never echoes operator input, and stamps the SSWS scheme onto the connection. No picker, OAuth metadata, or probe URL: the token plus domain identify exactly one org and the host is per-connection. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
@@ -44,6 +44,7 @@ func (r *mutationResolver) CreateAPIKeyConnector(ctx context.Context, input type
|
||||
APIKey: input.APIKey,
|
||||
Header: r.providerRegistry.APIKeyHeader(input.Provider),
|
||||
BasicAuth: r.providerRegistry.APIKeyUsesBasicAuth(input.Provider),
|
||||
Scheme: r.providerRegistry.APIKeyAuthScheme(input.Provider),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user