Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Auth0-based authentication to the Outlook io.Bridge example by switching the browser app login to Auth0 and introducing a gateway-server-side Auth0 flow that injects access tokens into bridge/mesh connections.
Changes:
- Switch
IOConnectHomelogin fromsimpletoauth0and propagate tokens/claims into io.Connect Browser Platform + bridge connection config. - Add a
gateway-server.config.tsthat wires an Auth0 login/callback handler and forwards the resulting access token to the bridge/mesh cluster connection. - Add
openerdependency plus example env vars and supporting Auth0 success page assets.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| outlook/src/App.tsx | Moves UI login to Auth0 and adds token/header/query-param plumbing for bridge connectivity. |
| outlook/package.json | Adds opener dependency used by the gateway server config. |
| outlook/package-lock.json | Captures the lockfile including the new opener dependency. |
| outlook/gateway-server.config.ts | New TS gateway-server config with Auth0 flow integration and token forwarding to bridge/mesh. |
| outlook/gateway-server.config.json | Removes the previous JSON gateway-server config in favor of TS-based config. |
| outlook/gateway-server-helpers/auth0.ts | Implements Auth0 login + callback endpoints and stores tokens in-memory for gateway use. |
| outlook/gateway-server-helpers/auth0-success.html | Adds a basic “login successful” page returned by the callback handler. |
| outlook/.env.example | Documents the new Auth0-related Vite env vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.