Skip to content

Commit

Permalink
Merge pull request #61 from Purdue-ACM-SIGAPP/DotNet-URl-2.0
Browse files Browse the repository at this point in the history
Dot net u rl 2.0
  • Loading branch information
AndrewZacharyLiu authored Jan 31, 2025
2 parents f498765 + ee90b5a commit 4f9bd5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ npm-debug.*
.expo/
obj
bin
web-build/
web-build/
Folder.DotSettings.user
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = "https://dev-2gowyyl3kin685ua.us.auth0.com/";
options.Audience = "http://localhost:5128";
options.Authority = builder.Configuration.GetConnectionString("opt_Authority");
options.Audience = builder.Configuration.GetConnectionString("opt_Audience");
options.TokenValidationParameters = new TokenValidationParameters
{
NameClaimType = ClaimTypes.NameIdentifier,
Expand Down
1 change: 1 addition & 0 deletions SimpleWebAppReact.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<ItemGroup>
<PackageReference Include="Auth0.AspNetCore.Authentication" Version="1.4.1" />
<PackageReference Include="dotenv.net" Version="3.2.1" />
<PackageReference Include="Fiambre.Identity.Mongo" Version="8.3.2" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.0.0" />
<PackageReference Include="FuzzySharp" Version="2.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Cors" Version="2.2.0" />
Expand Down

0 comments on commit 4f9bd5a

Please sign in to comment.