
The B2BIdentityProvider function renders UI to enable the logged-in member to perform an OAuth Authorization flow with a pre-registered Connected App. The UI component will automatically parse out OAuth related fields from the query params, such as client_id, redirect_uri, scope, and state.
For an overview of when consent is required, see our Consent Management guide.
The member must be logged in before this component is rendered.
B2BIdentityProvider must be wrapped inside a StytchB2BProvider. Take a look at our installation guide for more information on how to configure the StytchB2BProvider for your framework.