Add LinkedIn OAuth connect with portal-saved app credentials.
Replace manual token paste with Authorization Code flow; store Client ID/secret in the DB from the social accounts UI and surface a copyable callback URL for LinkedIn Auth setup.
This commit is contained in:
@@ -7,6 +7,16 @@ app_name = "social"
|
||||
urlpatterns = [
|
||||
path("", views.post_list, name="post_list"),
|
||||
path("accounts/", views.account_list, name="account_list"),
|
||||
path(
|
||||
"accounts/linkedin/start/",
|
||||
views.linkedin_oauth_start,
|
||||
name="linkedin_oauth_start",
|
||||
),
|
||||
path(
|
||||
"accounts/linkedin/callback/",
|
||||
views.linkedin_oauth_callback,
|
||||
name="linkedin_oauth_callback",
|
||||
),
|
||||
path("compose/", views.composer, name="composer"),
|
||||
path("api/generate/", views.api_generate, name="api_generate"),
|
||||
path("<uuid:pk>/", views.post_detail, name="post_detail"),
|
||||
|
||||
Reference in New Issue
Block a user