This diagram illustrates the OAuth authentication flow for third-party integrations (e.g., Hubspot) within the Remix Chrome Extension.
The OAuth process in the Chrome Extension follows a different pattern than the desktop flow. Instead of using local Remix screens, it leverages a hosted web app and a server-side service agent to handle the authentication callback and messaging.
https://remix.app/remix/oauth_handler (a hosted web app).remix workspace hosted on https://agt.remixlabs.com. Service Agent Call: The OAuth Handler uses the user's token and calls the "publish" service agent in the remix workspace hosted on https://agt.remixlabs.com. This service publishes messages to notify the subscriber of their successful sign-in within the Chrome Extension..For this OAuth flow to function properly, the following components must be deployed:
https://remix.app/remix/oauth_handler to receive OAuth callbacks from third-party serviceshttps://agt.remixlabs.com to handle message publishing between the OAuth Handler and Chrome ExtensionExtension third party oauth component
To try an example of third-party OAuth in the extension, search for "third party oauth" and select "Extension third party oauth example"
