nicmart-dev / linguistnow

LinguistNow simplifies the hassle of finding available linguists for translation projects.
https://linguistnow.netlify.app
1 stars 1 forks source link

Set OAuth to production in Google Cloud #30

Closed nicmart-dev closed 3 weeks ago

nicmart-dev commented 1 month ago

We need to configure Google Cloud app to production urls after deploying to production with #26 and #27

nicmart-dev commented 1 month ago

Google Cloud app becoming unauthorized# For Google Cloud apps with Publishing status set to Testing and User type set to External, consent and tokens expire after seven days. Refer to Google Cloud Platform Console Help | Setting up your OAuth consent screen for more information.

nicmart-dev commented 3 weeks ago

Set scopes by editing app consent screen in https://console.cloud.google.com/apis/credentials/consent/edit:

https://console.cloud.google.com/apis/credentials/consent/edit

Image

Note: even though the sensitive scope above is not needed, but Google requires it per #57.

nicmart-dev commented 3 weeks ago

I will need to publish app to production first and create a privacy page before I can toggle from testing to production on https://console.cloud.google.com/apis/credentials/consent

Image

It will then need to be verified by Google.

nicmart-dev commented 3 weeks ago

Created new privacy page and updated consent page per https://github.com/nicmart-dev/linguistnow/wiki/Deploy-app-to-production#update-oauth2-configuration-to-production