-1
import * as AuthSession from 'expo-auth-session';
const response = AuthSession.startAsync({
authUrl: `${api.defaults.baseURL}/oauth2/authorize?client_id=${CLIENT_ID}&redirect_uri=${REDIRECT_URI}&response_type=${RESPONSE_TYPE}&scope=${SCOPE}`,
});
console.log(response);
log response
Promise {
"_U": 0,
"_V": 0,
"_W": null,
"_X": null,
}
when I look at the log, it does not come to REDIRECT_URI dirty to use, so it always falls into error 404, as I create a url to redirect?