@salesforce/b2c-tooling-sdk / config / CreateOAuthOptions
Interface: CreateOAuthOptions
Defined in: packages/b2c-tooling-sdk/src/config/types.ts:436
Options for creating OAuth auth strategy.
Properties
allowedMethods?
optionalallowedMethods:AuthMethod[]
Defined in: packages/b2c-tooling-sdk/src/config/types.ts:438
Allowed OAuth methods (default: client credentials, then PKCE user auth, then deprecated implicit auth)
openBrowser()?
optionalopenBrowser: (url) =>Promise<void>
Defined in: packages/b2c-tooling-sdk/src/config/types.ts:444
Custom browser opener for browser OAuth flows. Receives the authorization URL.
Parameters
url
string
Returns
Promise<void>
redirectUri?
optionalredirectUri:string
Defined in: packages/b2c-tooling-sdk/src/config/types.ts:442
Override redirect URI for browser OAuth flows (e.g., for port forwarding in remote environments)
scopes?
optionalscopes:string[]
Defined in: packages/b2c-tooling-sdk/src/config/types.ts:440
Additional OAuth scopes to request beyond those in config