import { B2BIDPContainer } from '../../b2b/App.mjs';
import { createB2BComponent } from '../bindings/createB2BComponent.mjs';

/**
 * The Stytch B2B IDP component.
 * Parses OAuth Authorization params (client_id, scope, nonce, etc.) out of the page URL.
 * Requires the user to be logged in.
 * This component can only be used with a Stytch B2B UI Client
 * passed into the StytchB2BProvider.
 *
 * See the {@link https://stytch.com/docs/b2b/sdks online reference}
 *
 * @example
 * <B2BIdentityProvider
 *   presentation={{
 *     theme: { primary: '#ff00f7' },
 *     options: {},
 *   }}
 *   callbacks={{
 *     onEvent: (event) => console.log(event)
 *   }}
 * />
 */ const B2BIdentityProvider$1 = /* @__PURE__ */ createB2BComponent('B2BIdentityProvider', B2BIDPContainer);

export { B2BIdentityProvider$1 as B2BIdentityProvider };
//# sourceMappingURL=B2BIdentityProvider.mjs.map
