Update domain name
This commit is contained in:
parent
4f1c7b782a
commit
5866194f63
|
@ -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)
|
||||||
|
|
|
@ -6,5 +6,9 @@
|
||||||
"Microsoft.Hosting.Lifetime": "Information"
|
"Microsoft.Hosting.Lifetime": "Information"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"AllowedHosts": "*"
|
"Auth": {
|
||||||
|
"ApiUrl": "https://noagendasocial.com/api/v1/",
|
||||||
|
"ReturnHost": "https://noagendacareers.com"
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user