Skip to content

Interface: ConnectConfig ​

OAuth 2.1 / OIDC configuration for a Nosana Connect client.

Properties ​

PropertyTypeDescription
clientIdstringClient ID from the Nosana "Connected Apps" dashboard (stcl_…).
clientSecret?stringConfidential 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?stringAuthorization-server issuer, e.g. https://deploy.nosana.com/api/auth. Defaults to the Nosana production issuer.
metadata?AuthorizationServerMetadataPre-resolved server metadata; when provided, discovery is skipped.
redirectUri?stringWhere the authorization server redirects back to after login.
scopes?string[]Requested scopes. Defaults to ["openid", "offline_access"].