The oauth.$provider.discovery.start() methods start OAuth flows by redirecting the browser to one of Stytch's OAuth Discovery Start endpoints. The method will also generate a PKCE code_verifier and store it in local storage on the device (See the PKCE OAuth guide for details). If your application is configured to use a custom subdomain with Stytch, it will be used automatically.
- oauth.google.discovery.start()
- oauth.microsoft.discovery.start()
- oauth.hubspot.discovery.start()
- oauth.slack.discovery.start()