Fix OAuth page

This commit is contained in:
Joren de Graaf
2026-10-19 16:51:53 +02:00
parent a8418cdba7
commit 743785c2e0
54 changed files with 1794 additions and 27 deletions
+4
View File
@@ -45,6 +45,8 @@ INSTALLED_APPS = [
'planner',
'food.apps.FoodConfig',
'recipes',
'stress',
'dreams',
]
# Published recipes owned by this account may appear in the optional matching demo.
@@ -72,6 +74,8 @@ OAUTH2_PROVIDER = {
'food:write': 'Create, change, and delete food diary entries and images',
'inventory:read': 'Read your kitchen inventory',
'inventory:write': 'Create, change, and remove kitchen inventory items',
'journal:read': 'Read your private stress and dream journals',
'journal:write': 'Create, change, and delete stress and dream entries',
},
'ACCESS_TOKEN_GENERATOR': 'food.oauth_pat.oauth_access_token',
'ACCESS_TOKEN_EXPIRE_SECONDS': 3600,