From 8a03f4184f1cdb76353da402ee12874d0eb743dc Mon Sep 17 00:00:00 2001 From: Alexandra Talalaieva <25621530+sashatalalasha@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:38:55 +0200 Subject: [PATCH] Update README.md --- flutter-ory-network/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/flutter-ory-network/README.md b/flutter-ory-network/README.md index bfe6210..d24c1ec 100644 --- a/flutter-ory-network/README.md +++ b/flutter-ory-network/README.md @@ -20,6 +20,23 @@ Create .env file with your project url in the root folder of the Flutter app ORY_BASE_URL=https://{your-project-slug}.projects.oryapis.com ``` +### Google Sign In +If you use Google Sign In on Android, add following variable to .env file +```env +WEB_CLIENT_ID={web-client-id}.apps.googleusercontent.com +``` +If you use Google Sign In on iOS, add following variable to .env file +```env +IOS_CLIENT_ID={ios-client-id}.apps.googleusercontent.com +``` +Additionally, add reversed Client ID com.googleusercontent.apps.{ios-client.id} as iOS URL scheme to Info.plist.\ +For more information, see [Google Integration Docs](https://www.ory.sh/docs/kratos/social-signin/google). + +### Apple Sign In +To configure Apple Sign In on IOS, see [Apple Integration Docs](https://www.ory.sh/docs/kratos/social-signin/apple).\ +To configure Apple Sign In on Android, see [Social sign-in for native and mobile apps +](https://www.ory.sh/docs/kratos/social-signin/native-apps). + ### Run locally 1. Install dependencies from `pubspec.yaml`