mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Update backend configuration to use Gitea, including new authentication settings and API endpoints
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
backend:
|
backend:
|
||||||
name: gitlab
|
name: gitea
|
||||||
repo: beardedtek/flowbite-beardedtek.com
|
repo: beardedtek/flowbite-beardedtek.com
|
||||||
branch: main
|
branch: main
|
||||||
base_url: https://git.beardedtek.com/api/v1
|
base_url: https://git.beardedtek.com
|
||||||
|
api_root: https://git.beardedtek.com/api/v1
|
||||||
auth_endpoint: https://git.beardedtek.com/login/oauth/authorize
|
auth_endpoint: https://git.beardedtek.com/login/oauth/authorize
|
||||||
commit_messages:
|
commit_messages:
|
||||||
create: 'content: create {{collection}} "{{slug}}"'
|
create: 'content: create {{collection}} "{{slug}}"'
|
||||||
@@ -11,6 +12,16 @@ backend:
|
|||||||
uploadMedia: 'media: upload {{path}}'
|
uploadMedia: 'media: upload {{path}}'
|
||||||
deleteMedia: 'media: delete {{path}}'
|
deleteMedia: 'media: delete {{path}}'
|
||||||
|
|
||||||
|
auth:
|
||||||
|
provider: gitea
|
||||||
|
client_id: "${GITEA_CLIENT_ID}"
|
||||||
|
client_secret: "${GITEA_CLIENT_SECRET}"
|
||||||
|
auth_url: https://git.beardedtek.com/login/oauth/authorize
|
||||||
|
token_url: https://git.beardedtek.com/login/oauth/access_token
|
||||||
|
user_url: https://git.beardedtek.com/api/v1/user
|
||||||
|
enable_pkce: true
|
||||||
|
scope: "user"
|
||||||
|
|
||||||
local_backend: true
|
local_backend: true
|
||||||
|
|
||||||
media_folder: "static/images/uploads"
|
media_folder: "static/images/uploads"
|
||||||
|
|||||||
Reference in New Issue
Block a user