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

View File

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