Merged PR 102: commented Dadeschool token
commented Dadeschool token
This commit is contained in:
commit
735a5ee62c
@ -24,7 +24,7 @@ namespace DamageAssesment.Api.UsersAccess.Controllers
|
||||
// }
|
||||
// return Unauthorized(result.ErrorMessage);
|
||||
// }
|
||||
[Authorize(Policy = "Dadeschools")]
|
||||
// [Authorize(Policy = "Dadeschools")]
|
||||
[HttpPost("token/{employecode}")]
|
||||
public async Task<ActionResult> AuthenticateAsync(string employecode)
|
||||
{
|
||||
@ -36,7 +36,7 @@ namespace DamageAssesment.Api.UsersAccess.Controllers
|
||||
return Unauthorized(result.ErrorMessage);
|
||||
}
|
||||
|
||||
[Authorize(Policy = "Dadeschools")]
|
||||
// [Authorize(Policy = "Dadeschools")]
|
||||
[HttpPost("refreshtoken")]
|
||||
public async Task<ActionResult> RefreshTokenAsync(TokenResponse tokenResponse)
|
||||
{
|
||||
|
@ -22,8 +22,8 @@
|
||||
"Dadeschools": {
|
||||
"Authority": "https://dev-graph.dadeschools.net",
|
||||
"TokenUrl": "https://dev-graph.dadeschools.net/connect/token",
|
||||
"ClientId": "dmapi",
|
||||
"ClientSecret": "bfce2c8d-2064-4a02-b19d-7f1d42b16eae",
|
||||
"ClientId": "damage_assessment",
|
||||
"ClientSecret": "p7_6mcKuVDD!nbBi64JLwdAhHH*m9i",
|
||||
//"TokenClientId": "damage_assessment_postman",
|
||||
//"TokenClientSecret": "e4774164-f018-44c9-b9d2-3a29fc21db3c",
|
||||
"scope": "openid profile",
|
||||
|
Loading…
Reference in New Issue
Block a user