Skip to content

Populate AUTH_TOKEN_COMFY_ORG hidden input#7709

Merged
comfyanonymous merged 1 commit intomasterfrom
auth
Apr 21, 2025
Merged

Populate AUTH_TOKEN_COMFY_ORG hidden input#7709
comfyanonymous merged 1 commit intomasterfrom
auth

Conversation

@huchenlei
Copy link
Contributor

Ref: Comfy-Org/ComfyUI_frontend#3477

Node can access this token by specifying following input:

      @classmethod
      def INPUT_TYPES(s):
        return {
          "hidden": { "auth_token": "AUTH_TOKEN_COMFY_ORG"}
        }
      def execute(self, auth_token: str):
        print(f"Auth token: {auth_token}")

@comfyanonymous comfyanonymous merged commit b6fd3ff into master Apr 21, 2025
8 checks passed
@comfyanonymous comfyanonymous deleted the auth branch April 21, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants