This commit is contained in:
Joren de Graaf
2026-10-09 14:43:46 +02:00
parent c825cd474e
commit 559c51e9bb
20 changed files with 322 additions and 27 deletions
+3 -2
View File
@@ -62,7 +62,7 @@ ROOT_URLCONF = 'tasksnest.urls'
OAUTH2_PROVIDER = {
'OIDC_ISS_ENDPOINT': os.environ.get('TASKNEST_OAUTH_ISSUER_URL',
'http://127.0.0.1:1234/' if DEBUG else 'https://tasksnest.jorendegraaf.eu/'),
'https://tasksnest.jorendegraaf.eu/'),
'SCOPES': {
'food:read': 'Read your food diary and saved foods',
'food:write': 'Create, change, and delete food diary entries and images',
@@ -75,6 +75,7 @@ OAUTH2_PROVIDER = {
'ROTATE_REFRESH_TOKEN': True,
'REFRESH_TOKEN_REUSE_PROTECTION': True,
'CIMD_ENABLED': True,
'CIMD_METADATA_FETCHER': 'food.cimd.CompatibleCIMDFetcher',
'DCR_ENABLED': False,
'OAUTH2_GRANT_TYPES_SUPPORTED': ['authorization_code', 'refresh_token'],
'OAUTH2_TOKEN_ENDPOINT_AUTH_METHODS_SUPPORTED': ['none', 'client_secret_basic', 'client_secret_post'],
@@ -87,7 +88,7 @@ OAUTH2_PROVIDER = {
'COMPLIANT_BCP_RFC9700_PASSWORD_GRANT': True,
}
TASKNEST_MCP_PUBLIC_URL = os.environ.get('TASKNEST_MCP_PUBLIC_URL',
'http://127.0.0.1:8002/mcp' if DEBUG else 'https://tasksnest.jorendegraaf.eu/mcp')
'https://tasksnest.jorendegraaf.eu/mcp')
TEMPLATES = [
{