Skip to content

Commit

Permalink
chore: add comment about web client id
Browse files Browse the repository at this point in the history
  • Loading branch information
sashatalalasha committed Nov 3, 2023
1 parent b5f358b commit 94e2ee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flutter-ory-network/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ Future<void> main() async {

final authService = AuthService(dio);

// We use Web Client ID for Android devices as omitting Client ID
// leads to id Token being null. For more information,
// see https://github.com/flutter/flutter/issues/33393#issuecomment-964728679
final googleSignIn = GoogleSignIn(
clientId: Platform.isAndroid
? dotenv.get('WEB_CLIENT_ID')
Expand Down

0 comments on commit 94e2ee3

Please sign in to comment.