#137 — [Bug]: PROD wrong redirectTo for Supabase’s signInWithOAuth

Repo: Twill-AI/twill-ai-ui State: closed | Status: done Assignee: Unassigned

Created: 2024-12-06 · Updated: 2025-03-11

Description

Steps to reproduce

NOTE: reproduces only in Prod, i.e. with Front Door, not with GH Pages.

To reproduce:

  1. In prod https://my.twillai.site/auth/signup press “Continue with google”.

What was the expected behavior?

I expected it to open something like

Image

but front-end calls GET https://oauth.twillai.site/auth/v1/authorize?provider=google&redirect_to=/ which leads to “Error 400: redirect_uri_mismatch” error

Screenshots

Image

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets