HackmanCMS/web/api
Bashy 158a5b0775 Add LinkedIn OAuth flow
- linkedin_auth API: generates auth URL with CSRF state stored in session
- linkedin_callback: exchanges code for tokens, writes to project's config.json
- index.php: route /linkedin/callback before auth check
- Connect button wired up in JS; reads LINKEDIN_CLIENT_ID/SECRET from server env

Server setup required:
  SetEnv LINKEDIN_CLIENT_ID ...
  SetEnv LINKEDIN_CLIENT_SECRET ...
Redirect URI to register in LinkedIn app: https://<host>/linkedin/callback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 17:25:38 +03:00
..
analytics.php Init 2026-05-03 20:56:15 +03:00
analytics_import.php Init 2026-05-03 20:56:15 +03:00
audit.php Init 2026-05-03 20:56:15 +03:00
auth.php Init 2026-05-03 20:56:15 +03:00
backup.php Init 2026-05-03 20:56:15 +03:00
botconfig.php Point botconfig and botlogs to data/ subdirectory 2026-05-26 17:19:17 +03:00
botcontrol.php Remove sudo from read-only systemctl calls in botcontrol 2026-05-26 16:13:21 +03:00
botlogs.php Point botconfig and botlogs to data/ subdirectory 2026-05-26 17:19:17 +03:00
disk.php Init 2026-05-03 20:56:15 +03:00
drafts.php Init 2026-05-03 20:56:15 +03:00
files.php Update of draft system 2026-05-03 23:20:46 +03:00
git.php Init 2026-05-03 20:56:15 +03:00
linkedin_auth.php Add LinkedIn OAuth flow 2026-05-26 17:25:38 +03:00
links.php Init 2026-05-03 20:56:15 +03:00
plugins.php Init 2026-05-03 20:56:15 +03:00
posts.php Init 2026-05-03 20:56:15 +03:00
projects.php Init 2026-05-03 20:56:15 +03:00
recent.php Init 2026-05-03 20:56:15 +03:00
run.php Init 2026-05-03 20:56:15 +03:00
schedules.php Init 2026-05-03 20:56:15 +03:00
scratchpad.php Init 2026-05-03 20:56:15 +03:00
search.php Init 2026-05-03 20:56:15 +03:00
snippets.php Init 2026-05-03 20:56:15 +03:00
tags.php Init 2026-05-03 20:56:15 +03:00
templates.php Init 2026-05-03 20:56:15 +03:00
themes.php Init 2026-05-03 20:56:15 +03:00
track.php Init 2026-05-03 20:56:15 +03:00
upload.php Init 2026-05-03 20:56:15 +03:00