From 435ea7005213a419617cc89b770b2aac105495cb Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Mon, 27 May 2024 10:12:01 +0200
Subject: [PATCH] feat(auth): update auth method to OKTA

---
 src/requests/grdf.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/requests/grdf.js b/src/requests/grdf.js
index 235e5f2..60bdce2 100644
--- a/src/requests/grdf.js
+++ b/src/requests/grdf.js
@@ -22,7 +22,7 @@ async function getAuthToken(client_id, client_secret) {
     const response = await Axios({
       method: 'POST',
       url:
-        'https://sofit-sso-oidc.grdf.fr/openam/oauth2/realms/externeGrdf/access_token',
+        'https://adict-connexion.grdf.fr/oauth2/aus5y2ta2uEHjCWIR417/v1/token',
       headers: { 'content-type': 'application/x-www-form-urlencoded' },
       data: qs.stringify(body)
     })
-- 
GitLab