#0000 - Update redirect URI and client ID for authentication
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:
parent
96d4db86ca
commit
6352d7f8a0
1 changed files with 2 additions and 2 deletions
|
@ -6,14 +6,14 @@ import {Button, Text, View} from "react-native";
|
||||||
|
|
||||||
WebBrowser.maybeCompleteAuthSession();
|
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 = 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);
|
console.log(redirectURI);
|
||||||
|
|
||||||
export default function indexScreen() {
|
export default function indexScreen() {
|
||||||
const [tokenResponse, setTokenResponse] = useState<TokenResponse | null>(null);
|
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');
|
const discovery = AuthSession.useAutoDiscovery('https://auth-integ.partenamut.be/login/oauth2');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue