
The IdentityProvider function renders UI to enable the logged-in user 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. The user will be prompted if explicit user consent is required for the flow to continue. Otherwise, the user will be redirected immediately.
The user must be logged in before this component is rendered.
IdentityProvider must be wrapped inside a StytchProvider. Take a look at our installation guide for more information on how to configure the StytchProvider for your framework.