Skip to content

Commit

Permalink
change default authority to develop for now
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Jun 7, 2024
1 parent 7763062 commit 1defd3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/LocalWebApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
var builder = WebApplication.CreateBuilder(args);
if (!builder.Environment.IsDevelopment())
builder.WebHost.UseUrls("http://127.0.0.1:0");
builder.ConfigureDev<AuthConfig>(config => config.DefaultAuthority = new("https://localhost:3000"));
builder.ConfigureProd<AuthConfig>(config => config.DefaultAuthority = new("https://lexbox.org"));
builder.ConfigureDev<AuthConfig>(config => config.DefaultAuthority = new("https://lexbox.dev.languagetechnology.org"));
//for now prod builds will also use lt dev until we deploy oauth to prod
builder.ConfigureProd<AuthConfig>(config => config.DefaultAuthority = new("https://lexbox.dev.languagetechnology.org"));
builder.Services.Configure<AuthConfig>(c => c.ClientId = "becf2856-0690-434b-b192-a4032b72067f");

builder.Services.AddLocalAppServices(builder.Environment);
Expand Down

0 comments on commit 1defd3e

Please sign in to comment.