-
Notifications
You must be signed in to change notification settings - Fork 278
fix: [Python] Auth App #338
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
Conversation
| { | ||
| "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
python/auth-app/README.md
Outdated
| ``` | ||
| gcloud app deploy | ||
| ``` | ||
| 1. Fetch the URL: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the instructions
python/auth-app/README.md
Outdated
| 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#) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the instructions
No description provided.