From 3e77c43a0d35881bf85ac9f1733dc716362ac6bb Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Fri, 7 Jun 2024 16:10:16 -0600 Subject: [PATCH] allow redirecting to 127.0.0.1 for FW lite client --- backend/LexData/SeedingData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/LexData/SeedingData.cs b/backend/LexData/SeedingData.cs index c61e3b288..e30c6368f 100644 --- a/backend/LexData/SeedingData.cs +++ b/backend/LexData/SeedingData.cs @@ -233,7 +233,7 @@ async ValueTask UpdateApp(object dbApp, OpenIddictApplicationDescriptor seedApp, OpenIddictConstants.Permissions.Scopes.Profile }, // port is dynamic due to the nature of the native app - RedirectUris = { new Uri("http://localhost:5173/api/auth/oauth-callback") } + RedirectUris = { new Uri("http://localhost:5173/api/auth/oauth-callback"), new Uri("http://127.0.0.1:5173/api/auth/oauth-callback") } } ], a => a.ClientId ?? throw new InvalidOperationException("ClientId is null"));