Skip to content

Add auth0 login to outlook#1

Open
PetarToshev-Interop wants to merge 3 commits intooutlookfrom
auth0-to-outlook
Open

Add auth0 login to outlook#1
PetarToshev-Interop wants to merge 3 commits intooutlookfrom
auth0-to-outlook

Conversation

@PetarToshev-Interop
Copy link

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 IOConnectHome login from simple to auth0 and propagate tokens/claims into io.Connect Browser Platform + bridge connection config.
  • Add a gateway-server.config.ts that wires an Auth0 login/callback handler and forwards the resulting access token to the bridge/mesh cluster connection.
  • Add opener dependency 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.

PetarToshev-Interop and others added 2 commits March 11, 2026 20:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants