minor fix: add secure cookie for production

pull/22748/head
neatguycoding 7 months ago
parent bddeebd4c9
commit 1421375274
No known key found for this signature in database
GPG Key ID: 986432EB84C921B3

@ -712,6 +712,7 @@ class ToolPluginOAuthApi(Resource):
context_id, context_id,
httponly=True, httponly=True,
samesite="Lax", samesite="Lax",
secure=dify_config.DEPLOY_ENV != "development",
max_age=OAuthProxyService.__MAX_AGE__, max_age=OAuthProxyService.__MAX_AGE__,
) )
return response return response

Loading…
Cancel
Save