Please provide the following:
- SDK Version: 42
- Platforms(Android/iOS/web/all): iOS running with expo go
- Add the appropriate “Tag” based on what Expo library you have a question on.
@ios.dev @authenticate
I have the login code, I m using
// create and load, una solicitud a AuthSession.useAuthRequest
const [request, result, promptAsync] = AuthSession.useAuthRequest(
{
redirectUri: redirect,
clientId: clientId,
// id_token will return a JWT token
responseType: 'id_token',
// retrieve the user's profile
// offline_access: para que devuelta un token de actualización
scopes: ['openid', 'profile', 'offline_access'],
prompt: 'SelectAccount',
extraParams: {
// ideally, this will be a random value
nonce: 'nonce',
},
},
{ authorizationEndpoint }
);
In android eunning expo go directly on device, works good,
when i try the same on ios running expo go,
it show me the message:
You are not currently signed in to Expo on your development machine. As a result, the redirect URL for AuthSession will be “Sign-in Complete”. If you are using an OAuth provider that requires adding redirect URLs to an allow list, we recommend that you do not add this URL – instead, you should sign in to Expo to acquire a unique redirect URL. Additionally, if you do decide to publish this app using Expo, you will need to register an account to do it.