Skip to content

[API Nodes] Add auth_token_comfy_org to queue prompt request body#3477

Merged
huchenlei merged 3 commits intomainfrom
secret_string
Apr 16, 2025
Merged

[API Nodes] Add auth_token_comfy_org to queue prompt request body#3477
huchenlei merged 3 commits intomainfrom
secret_string

Conversation

@huchenlei
Copy link
Contributor

@huchenlei huchenlei commented Apr 16, 2025

Pass auth token to backend.

The auth token for the comfy org account if the user is logged in.

Backend 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}")

┆Issue is synchronized with this Notion page by Unito

@huchenlei huchenlei requested a review from a team as a code owner April 16, 2025 19:06
@huchenlei huchenlei merged commit 5038282 into main Apr 16, 2025
10 checks passed
@huchenlei huchenlei deleted the secret_string branch April 16, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants