From 6352d7f8a09292c3c941f0cbd4219274817bc0fa Mon Sep 17 00:00:00 2001 From: "Guillaume \"B.B.\" Van Hemmen" Date: Thu, 17 Oct 2024 12:52:33 +0200 Subject: [PATCH] #0000 - Update redirect URI and client ID for authentication Changed the redirect URI and client ID to align with the new POC setup. This update ensures compatibility with the new authentication server configuration. --- app/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/index.tsx b/app/index.tsx index 8c17255..0b0d69f 100644 --- a/app/index.tsx +++ b/app/index.tsx @@ -6,14 +6,14 @@ import {Button, Text, View} from "react-native"; WebBrowser.maybeCompleteAuthSession(); // const redirectURI = AuthSession.makeRedirectUri({native: 'http://127.0.0.1:8082/ssoCallback', // TODO: why is it translated to localhost? Why /ssoCallback is missing?}); -const redirectURI = 'https://poc-sso-marn.van-hemmen.com/ssoCallback'; +const redirectURI = 'https://poc-sso-marn-500.van-hemmen.com/ssoCallback'; console.log(redirectURI); export default function indexScreen() { const [tokenResponse, setTokenResponse] = useState(null); - const clientId = '509-marn-app'; + const clientId = '509-marn-poc-app'; const discovery = AuthSession.useAutoDiscovery('https://auth-integ.partenamut.be/login/oauth2');