From 96d4db86caee5a48baa2db25b657634593072cce Mon Sep 17 00:00:00 2001
From: "Guillaume \"B.B.\" Van Hemmen"
 <GuillaumeHemmen@noreply.git.van-hemmen.com>
Date: Thu, 17 Oct 2024 12:50:33 +0200
Subject: [PATCH] #0000 - Update OAuth discovery URL in app/index.tsx

Changed the OAuth discovery URL to point to the integration environment. This ensures the authentication flow interacts with the intended backend during development and testing.
---
 app/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/index.tsx b/app/index.tsx
index 5a021bc..8c17255 100644
--- a/app/index.tsx
+++ b/app/index.tsx
@@ -15,7 +15,7 @@ export default function indexScreen() {
 
     const clientId = '509-marn-app';
 
-    const discovery = AuthSession.useAutoDiscovery('https://fes509-ref.m-team.be/login/oauth2/realms/root/realms/509');
+    const discovery = AuthSession.useAutoDiscovery('https://auth-integ.partenamut.be/login/oauth2');
 
     const [request, result, promptAsync] = AuthSession.useAuthRequest(
         {