#0000 - Update redirect URI and client ID for authentication
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Changed the redirect URI and client ID to align with the new POC setup. This update ensures compatibility with the new authentication server configuration.
This commit is contained in:
Guillaume "B.B." Van Hemmen 2024-10-17 12:52:33 +02:00
parent 96d4db86ca
commit 6352d7f8a0
Signed by: GuillaumeHemmen
GPG key ID: 7921E64524F7EB35

View file

@ -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<TokenResponse | null>(null);
const clientId = '509-marn-app';
const clientId = '509-marn-poc-app';
const discovery = AuthSession.useAutoDiscovery('https://auth-integ.partenamut.be/login/oauth2');