Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sashatalalasha authored Oct 25, 2023
1 parent 3d83120 commit 8a03f41
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions flutter-ory-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 8a03f41

Please sign in to comment.