I am using expo-web-browser to open my login page in a web using open openAuthSessionAsync but I cannot get the data or I cannot return to my app after it successfully logged in with this code.
import * as Linking from 'expo-linking';
import * as WebBrowser from "expo-web-browser";
const [result, setResult] =
React.useState<WebBrowser.WebBrowserAuthSessionResult | null>(null)
React.useEffect(() => {
console.log("result",result)
}, [result])
this is the action button
signIn = () => {
const callbackUrl = Linking.makeUrl();
WebBrowser.openAuthSessionAsync('https://..../login', callbackUrl)
}