Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No src/config-provider.ts file #540

Open
fatshotty opened this issue Jun 30, 2021 · 3 comments
Open

No src/config-provider.ts file #540

fatshotty opened this issue Jun 30, 2021 · 3 comments

Comments

@fatshotty
Copy link

Hi,
I followed instruction but I can't be able to found the file src/config-providers.ts file and then I don't have the client_secret value

any help?

@Fleker
Copy link
Contributor

Fleker commented Jun 30, 2021

I'm not sure why it would be missing in the source, but it should be in this format:

/* Copyright 2017, Google, Inc.
 * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

 /**
  * This provides a number of parameters that may be used throughout this sample.
  */

// Port used for Express server
export const expressPort = 3000

// Client id that Google will use to make authorized requests
// In a production environment you should change this value
export const googleClientId = 'sampleClientId'

// Client secret that Google will use to make authorized requests
// In a production environment you should change this value
export const googleClientSecret = 'sampleClientSecret'

let ngrok = false
process.argv.forEach((value) => {
  if (value.includes('isLocal')) {
    ngrok = true
  }
})

// Running server locally using ngrok
export const useNgrok = ngrok

export const googleCloudProjectId = 'put your project id here'

@fatshotty
Copy link
Author

thanks for reply.
However... nothing is working.
Documentation in Readme.md is not the same as per google console pages; maybe is it outdated?
If you try to follow instructions as per readme.md file.... I think you can't correctly setup the project

Thank you

@EgHubs
Copy link

EgHubs commented Aug 14, 2021

any news here, please?
same here.
where can I get my client id and secret for OAuth?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants