Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit f5cf7e4

Browse files
committed
remove Goggle OAuth config from settings
1 parent 771daeb commit f5cf7e4

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

‎docs/README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ Default student users are `student-1`, `student-2`, `student-3` and `student-4`
3737
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
3838

3939
## Google OAuth
40-
- Go to https://console.cloud.google.com/apis/ and create a new project
40+
- Go to https://console.cloud.google.com/ and create a new project
4141
- Enable Google Calendar API and create an OAuth 2.0 client ID
4242
- Download the JSON file and rename it to `credentials.json`
4343
- Move the file to the root folder of the project
44-
- Update configurations on settings_local.py
4544

4645
## Virtualenv
4746

‎settings_local.py.template‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,6 @@ ADMINS = (("GSoC Admins", "gsoc-admins@python.org"))
4747
RECAPTCHA_PRIVATE_KEY = "6LcL0q8UAAAAAFPz31u0Ce9gnbEjhFou19c4MhnQ"
4848
RECAPTCHA_PUBLIC_KEY = "6LcL0q8UAAAAALYynEklThsKgSVZ2B1kubc-Y6br"
4949

50-
# google oauth client_config
51-
GOOGLE_API_SCOPES = ["https://www.googleapis.com/auth/calendar"]
52-
GOOGLE_API_CLIENT_CONFIG = {
53-
"installed": {
54-
"client_id": "",
55-
"project_id": "",
56-
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
57-
"token_uri": "https://oauth2.googleapis.com/token",
58-
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
59-
"client_secret": "p62APV3jXWciaWRzk9D9YAMm",
60-
"redirect_uris": ["urn:ietf:wg:oauth:2.0:oob", "http://localhost"],
61-
}
62-
}
63-
6450
# GITHUB SETTINGS
6551
STATIC_SITE_REPO = "python-gsoc/python-gsoc.github.io"
6652
GITHUB_ACCESS_TOKEN = ""

0 commit comments

Comments
 (0)