From 03e3c5aef9fbc9d5c80a6b2104eaf0a2dc65e3d9 Mon Sep 17 00:00:00 2001 From: beardedtek Date: Tue, 29 Jul 2025 13:56:21 -0800 Subject: [PATCH] Add token endpoint to config.yml for compatibility and enhance Decap CMS initialization in index.html with load checks. --- static/admin/config.yml | 2 ++ static/admin/index.html | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index fe58adb..2db84d4 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -6,6 +6,8 @@ backend: base_url: https://git.beardedtek.com api_root: https://git.beardedtek.com/api/v1 auth_endpoint: https://git.beardedtek.com/login/oauth/authorize + # Add explicit token endpoint for better compatibility + token_endpoint: https://git.beardedtek.com/login/oauth/access_token commit_messages: create: 'content: create {{collection}} "{{slug}}"' update: 'content: update {{collection}} "{{slug}}"' diff --git a/static/admin/index.html b/static/admin/index.html index 01a7414..f1b5ed2 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -10,7 +10,21 @@ \ No newline at end of file