Interface: ConnectConfig
OAuth 2.1 / OIDC configuration for a Nosana Connect client.
Properties
| Property | Type | Description |
|---|---|---|
clientId | string | Client ID from the Nosana "Connected Apps" dashboard (stcl_…). |
clientSecret? | string | Confidential apps only: the client secret. Public/PKCE apps omit this. |
fetch? | { (input, init?): Promise<Response>; (input, init?): Promise<Response>; } | Custom fetch (tests / non-standard runtimes). Defaults to globalThis.fetch. |
issuer? | string | Authorization-server issuer, e.g. https://deploy.nosana.com/api/auth. Defaults to the Nosana production issuer. |
metadata? | AuthorizationServerMetadata | Pre-resolved server metadata; when provided, discovery is skipped. |
redirectUri? | string | Where the authorization server redirects back to after login. |
scopes? | string[] | Requested scopes. Defaults to ["openid", "offline_access"]. |