Skip to content

Conversation

@vinay-google
Copy link
Contributor

No description provided.

@product-auto-label product-auto-label bot added the python Pull requests that update Python code label Nov 13, 2024
Comment on lines +102 to +104
{
"text": "Failed to log out user %s: ```%s```" % (user_name, e),
}

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
```
gcloud app deploy
```
1. Fetch the URL:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: describe the expected result

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the instructions

gcloud app browse
```
1. Replace the `redirect_uris` in your `client_secrets.json` with `<URL from the previous step>/auth/callback`.
1. Create a [service account](https://support.google.com/a/answer/7378726?hl=en#)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove hl=en from the URL parameters

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the instructions

CLIENT_SECRET_PATH: "client_secret.json"
SESSION_SECRET: "notasecret"

service_account: <SERVICE_ACCOUNT>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming that this value needs to be set before deploying, should we add an additional step in the README instructions?

Alternatively, you could add a quick comment that define what it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the instructions

@vinay-google vinay-google merged commit 4ca062f into main Nov 14, 2024
11 of 15 checks passed
@vinay-google vinay-google deleted the fix/auth-app branch November 14, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants