Skip to content

Google authentication in macOS app #2399

Discussion options

You must be logged in to vote

I've tracked down the issue to the following code in
serverpod/modules/serverpod_auth/serverpod_auth_server/lib/src/business/google_auth.dart

/// Contains information about the credentials for the server to access Google's
/// APIs. The secrets are typically loaded from
/// `config/google_client_secret.json`. The file can be downloaded from Google's
/// cloud console.
class GoogleClientSecret {
  ...
  /// List of redirect uris.
  late List<String> redirectUris;

  /// Loads the google client secrets from the provided path.
  GoogleClientSecret._(this._path) {
    ...
    Map web = data['web'];
    clientId = web['client_id'];
    clientSecret = web['client_secret'];
    redirectUris = (w…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by CordMemescape
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant