Skip to content

Commit

Permalink
allow redirecting to 127.0.0.1 for FW lite client
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Jun 7, 2024
1 parent 3983773 commit 3e77c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/LexData/SeedingData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit 3e77c43

Please sign in to comment.