You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,46 @@ Django poll app is a full featured polling app. You have to register in this app
29
29
<code>seeder.seed_all(30)</code>
30
30
<p>Here 30 is a number of entry. You can use it as your own</p>
31
31
32
+
<h2>Obtaining OAuth Client ID for Google:</h2>
33
+
34
+
To use Google's OAuth authentication in your application, you need to obtain a client ID and client secret. Follow these steps to get your OAuth client ID for Google:
35
+
36
+
1.**Go to the Google Cloud Console:**
37
+
- Navigate to [Google Cloud Console](https://console.cloud.google.com/).
38
+
- Sign in with your Google account.
39
+
40
+
2.**Create a new project:**
41
+
- Click on the project dropdown menu at the top of the page.
42
+
- Click on "New Project" and follow the prompts to create a new project.
43
+
44
+
3.**Enable the Google Identity service:**
45
+
- In the Google Cloud Console, navigate to "APIs & Services" > "Dashboard."
46
+
- Click on "Enable APIs and Services."
47
+
- Search for "Google Identity" or "Google+ API" and enable it for your project.
48
+
49
+
4.**Create OAuth consent screen:**
50
+
- In the Google Cloud Console, navigate to "APIs & Services" > "OAuth consent screen."
51
+
- Fill in the required fields (like application name, user support email, etc.).
52
+
- Add scopes (permissions) your application requires.
53
+
- Save the consent screen information.
54
+
55
+
5.**Create OAuth credentials:**
56
+
- In the Google Cloud Console, navigate to "APIs & Services" > "Credentials."
57
+
- Click on "Create Credentials" > "OAuth client ID."
58
+
- Select "Web application" as the application type.
0 commit comments