1

I am trying to implement Google authentication using Expo.AppAuth in my react native bare application (not managed by Expo).
I am using the expo-app-auth package.
I created a Client ID on Google Developer Console using the following bundle ID "org.reactjs.native.example.MyApp"

Here is my code:

import * as AppAuth from 'expo-app-auth';
AppAuth.authAsync({
    issuer: 'https://accounts.google.com',
    clientId: '<My_Client_ID>',
    scopes: ['profile', 'email'],
});


The above code redirects to Safari and gives the following error:

Safari cannot open the page because it could not establish a secure connection to the server. 


I would appreciate your help.

Pasha
  • 333
  • 2
  • 3
  • 9

0 Answers0