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
+28-6Lines changed: 28 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ 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:
32
+
<h2> Configuring OAuth login </h2>
33
+
<details>
34
+
<summary>Obtaining OAuth Client ID for Google</summary>
35
35
36
36
1.**Go to the Google Cloud Console:**
37
37
- Navigate to [Google Cloud Console](https://console.cloud.google.com/).
@@ -62,12 +62,34 @@ To use Google's OAuth authentication in your application, you need to obtain a c
62
62
63
63
6.**Copy the client ID and client secret:**
64
64
- Once the OAuth client is created, you'll see your client ID and client secret.
65
-
- Copy these values and update following variables in settings.py
65
+
- Copy these values and update the following variables in settings.py
For detailed instructions, refer to Google's documentation on [OAuth 2.0](https://developers.google.com/identity/protocols/oauth2).
73
+
</details>
74
+
75
+
76
+
<details>
77
+
<summary>Obtaining OAuth Client ID for LinkedIn</summary>
78
+
79
+
### Step 1: Create a LinkedIn App
80
+
1. Go to the [LinkedIn Developer Portal](https://www.linkedin.com/developers/) and sign in.
81
+
2. Click on "Create App" and fill in the required details, such as the app name, description, and logo.
82
+
3. In the "Authorized Redirect URLs" section, add the callback URL for your Django app. This URL will be like `http://127.0.0.1:8000/complete/linkedin/`.
83
+
4. Save the changes and note down the Client ID and Client Secret provided by LinkedIn.
84
+
85
+
### Step 2: Configure Django Settings
86
+
87
+
1. Update the following settings to your settings file, replacing `'your-linkedin-client-id'` and `'your-linkedin-client-secret'` with your actual LinkedIn app credentials:
0 commit comments