Fix OAuth page
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user