Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
[Bug] fix misusing ACCESS_TOKEN_EXPIRE_MINUTES in jwt on exp (#21030)
NeatGuyCoding61526c027d2e
diff --git a/api/controllers/web/passport.py b/api/controllers/web/passport.pyindex 9d229185f3c..10c3cdcf0e6 100644--- a/api/controllers/web/passport.py+++ b/api/controllers/web/passport.py@@ -163,7 +163,7 @@ def exchange_token_for_existing_web_user(app_code: str, enterprise_user_decoded:)db.session.add(end_user)db.session.commit()- exp_dt = datetime.now(UTC) + timedelta(hours=dify_config.ACCESS_TOKEN_EXPIRE_MINUTES * 24)+ exp_dt = datetime.now(UTC) + timedelta(minutes=dify_config.ACCESS_TOKEN_EXPIRE_MINUTES)exp = int(exp_dt.timestamp())payload = {"iss": site.id,