Updated API to use LiteCharms Security
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-06-06 16:26:27 +02:00
parent 90a11dc65e
commit 5d5b59d610
4 changed files with 34 additions and 32 deletions
@@ -1,6 +1,6 @@
### Authentik Token Request (Service Account Explicit)
POST {{authority}}
POST {{authority}}/connect/token
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: identity
grant_type={{grantType}}&client_id={{clientId}}&username={{username}}&password={{password}}&scope={{scope}}
grant_type={{grantType}}&client_id={{clientId}}&client_secret={{clientSecret}}&scope={{scope}}
@@ -0,0 +1,9 @@
{
"uat": {
"authority": "https://sts.security.khongisa.co.za",
"grantType": "client_credentials",
"clientId": "midrandbooks-api-uat",
"clientSecret": "secret_5a36d0024980544c875447a4b052938becc3fbbb10b8b2c097310c1a53ba3c0a",
"scope": "midrandbooks-api"
}
}