Update domain name

This commit is contained in:
Daniel J. Summers 2021-01-07 23:26:12 -05:00
parent 4f1c7b782a
commit 5866194f63
2 changed files with 8 additions and 4 deletions

View File

@ -35,7 +35,7 @@ namespace JobsJobsJobs.Server
{ {
client_id = config["ClientId"], client_id = config["ClientId"],
client_secret = config["Secret"], client_secret = config["Secret"],
redirect_uri = "https://localhost:3005/citizen/authorized", redirect_uri = $"{config["ReturnHost"]}/citizen/authorized",
grant_type = "authorization_code", grant_type = "authorization_code",
code = authCode, code = authCode,
scope = "read" scope = "read"
@ -100,8 +100,8 @@ namespace JobsJobsJobs.Server
new Claim(ClaimTypes.Name, citizen.DisplayName), new Claim(ClaimTypes.Name, citizen.DisplayName),
}), }),
Expires = DateTime.UtcNow.AddHours(2), Expires = DateTime.UtcNow.AddHours(2),
Issuer = "https://jobsjobs.jobs", Issuer = "https://noagendacareers.com",
Audience = "https://jobsjobs.jobs", Audience = "https://noagendacareers.com",
SigningCredentials = new SigningCredentials( SigningCredentials = new SigningCredentials(
new SymmetricSecurityKey(Encoding.UTF8.GetBytes(config["ServerSecret"])), new SymmetricSecurityKey(Encoding.UTF8.GetBytes(config["ServerSecret"])),
SecurityAlgorithms.HmacSha256Signature) SecurityAlgorithms.HmacSha256Signature)

View File

@ -6,5 +6,9 @@
"Microsoft.Hosting.Lifetime": "Information" "Microsoft.Hosting.Lifetime": "Information"
} }
}, },
"Auth": {
"ApiUrl": "https://noagendasocial.com/api/v1/",
"ReturnHost": "https://noagendacareers.com"
},
"AllowedHosts": "*" "AllowedHosts": "*"
} }