From 4c2ce06d8679aa32d30f64545a74c578ac3d79a7 Mon Sep 17 00:00:00 2001 From: "Fritz (Fredrick Seitz)" Date: Wed, 9 Aug 2023 16:01:54 -0400 Subject: [PATCH 1/4] fix: email template publish --- src/Bulwark.Auth/Bulwark.Auth.csproj | 23 ++++++++++++++--------- src/Bulwark.Auth/Program.cs | 2 +- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/Bulwark.Auth/Bulwark.Auth.csproj b/src/Bulwark.Auth/Bulwark.Auth.csproj index 875b4c8..e433304 100644 --- a/src/Bulwark.Auth/Bulwark.Auth.csproj +++ b/src/Bulwark.Auth/Bulwark.Auth.csproj @@ -41,6 +41,14 @@ + + + Always + + + + Always + @@ -55,19 +63,16 @@ - - Always - - - Always - - - Always - Always + + + + Always + + diff --git a/src/Bulwark.Auth/Program.cs b/src/Bulwark.Auth/Program.cs index 653bb6a..9a486e9 100644 --- a/src/Bulwark.Auth/Program.cs +++ b/src/Bulwark.Auth/Program.cs @@ -15,7 +15,7 @@ using MongoDB.Driver; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -//trigger build: 1 +//trigger build: 2 //Inject var applicationBuilder = WebApplication.CreateBuilder(args); DotEnv.Load(options: new DotEnvOptions(overwriteExistingVars: false)); From 37164933fbbc0d37a534217f701db4261b403a88 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 9 Aug 2023 20:07:10 +0000 Subject: [PATCH 2/4] chore(release): 1.0.11-beta.2 [skip ci] ## [1.0.11-beta.2](https://github.com/lateflip-io/Bulwark.Auth/compare/v1.0.11-beta.1...v1.0.11-beta.2) (2023-08-09) ### Bug Fixes * email template publish ([4c2ce06](https://github.com/lateflip-io/Bulwark.Auth/commit/4c2ce06d8679aa32d30f64545a74c578ac3d79a7)) --- src/Bulwark.Auth/Bulwark.Auth.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bulwark.Auth/Bulwark.Auth.csproj b/src/Bulwark.Auth/Bulwark.Auth.csproj index e433304..daaf324 100644 --- a/src/Bulwark.Auth/Bulwark.Auth.csproj +++ b/src/Bulwark.Auth/Bulwark.Auth.csproj @@ -4,7 +4,7 @@ net7.0 true Linux - 1.0.11 + 1.0.11-beta.2 Bulwark Auth A simple JWT authtication system lateflip.io From 38f10c56f0377c6c3d08710dff96171ab5c2829e Mon Sep 17 00:00:00 2001 From: "Fritz (Fredrick Seitz)" Date: Mon, 14 Aug 2023 08:55:02 -0400 Subject: [PATCH 3/4] chore: change default launching port to 8080 --- src/Bulwark.Auth/Properties/launchSettings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bulwark.Auth/Properties/launchSettings.json b/src/Bulwark.Auth/Properties/launchSettings.json index 2eda786..fd75060 100644 --- a/src/Bulwark.Auth/Properties/launchSettings.json +++ b/src/Bulwark.Auth/Properties/launchSettings.json @@ -4,8 +4,8 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:14631", - "sslPort": 44332 + "applicationUrl": "http://localhost:8080", + "sslPort": 443 } }, "profiles": { @@ -20,7 +20,7 @@ "Bulwark": { "commandName": "Project", "launchBrowser": true, - "applicationUrl": "http://localhost:7988", + "applicationUrl": "http://localhost:8080", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } From 1f0be4caa1abe3aedd8564ef8f84fc6f32d8f12c Mon Sep 17 00:00:00 2001 From: "Fritz (Fredrick Seitz)" Date: Mon, 14 Aug 2023 09:57:58 -0400 Subject: [PATCH 4/4] fix: loading social validators --- src/Bulwark.Auth/Program.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Bulwark.Auth/Program.cs b/src/Bulwark.Auth/Program.cs index 9a486e9..144adfc 100644 --- a/src/Bulwark.Auth/Program.cs +++ b/src/Bulwark.Auth/Program.cs @@ -92,16 +92,14 @@ //social startup var socialValidators = new ValidatorStrategies(); -if (Environment.GetEnvironmentVariable(Environment - .GetEnvironmentVariable("GOOGLE_CLIENT_ID")) != null) +if (Environment.GetEnvironmentVariable("GOOGLE_CLIENT_ID") != null) { var googleValidator = new GoogleValidator(Environment .GetEnvironmentVariable("GOOGLE_CLIENT_ID")); socialValidators.Add(googleValidator); } -if (Environment.GetEnvironmentVariable(Environment - .GetEnvironmentVariable("MICROSOFT_CLIENT_ID")) != null && +if (Environment.GetEnvironmentVariable("MICROSOFT_CLIENT_ID") != null && Environment.GetEnvironmentVariable("MICROSOFT_TENANT_ID") != null) { var microSoftValidator = new MicrosoftValidator(Environment @@ -110,8 +108,7 @@ socialValidators.Add(microSoftValidator); } -if (Environment.GetEnvironmentVariable(Environment - .GetEnvironmentVariable("GITHUB_APP_NAME")) != null ) +if (Environment.GetEnvironmentVariable("GITHUB_APP_NAME") != null) { var gitHubValidator = new GithubValidator(Environment .GetEnvironmentVariable("GITHUB_APP_NAME"));