### Configure Stytch B2B Authentication in Next.js Source: https://stytch.com/docs/b2b/guides Set up the StytchB2B component with a configuration object that defines the authentication flow type, enabled products, and specific options for each product. Ensure redirect URLs are correctly set for email magic links and SSO. ```javascript import { AuthFlowType, StytchB2B, oauth, emailMagicLinks, sso, } from '@stytch/nextjs/b2b'; const LoginOrSignup = () => { const config = { authFlowType: AuthFlowType.Discovery, products: [oauth, emailMagicLinks, sso], // Adding auth features is as simple as // products: [oauth, emailMagicLinks, sso, passwords], emailMagicLinksOptions: { loginRedirectURL: 'https://stytch.com/authenticate', signupRedirectURL: 'https://stytch.com/authenticate', }, ssoOptions: { loginRedirectURL: 'https://stytch.com/authenticate', signupRedirectURL: 'https://stytch.com/authenticate', }, oauthOptions: { providers: [ { type: 'google', one_tap: true, position: 'floating', }, { type: 'github', }, ], }, }; return ; }; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.