Skip to content

[BUG] Integrate CozeLoop into my own platform error #144

Open

Description

@flyJia

📋 CheckList

  • I have searched existing issues to avoid duplicates
  • I am using a recently maintained version of Coze Loop
  • I have provided all required information
  • I understand this is a bug report and not a feature request
  • I have submitted this report in English (otherwise it will not be processed)

🐛 Bug Description

I am currently integrating CozeLoop into my own platform. When using CozeLoop, the frontend needs to redirect to a CozeLoop webpage. However, since CozeLoop’s interface requires cookie information, the redirection fails. How should I resolve this issue? Can I completely remove CozeLoop’s interface authentication?

🔄 Steps to Reproduce

I am currently integrating CozeLoop into my own platform. When using CozeLoop, the frontend needs to redirect to a CozeLoop webpage. However, since CozeLoop’s interface requires cookie information, the redirection fails. How should I resolve this issue? Can I completely remove CozeLoop’s interface authentication?

✅ Expected Behavior

I am currently integrating CozeLoop into my own platform. When using CozeLoop, the frontend needs to redirect to a CozeLoop webpage. However, since CozeLoop’s interface requires cookie information, the redirection fails. How should I resolve this issue? Can I completely remove CozeLoop’s interface authentication?

❌ Actual Behavior

I am currently integrating CozeLoop into my own platform. When using CozeLoop, the frontend needs to redirect to a CozeLoop webpage. However, since CozeLoop’s interface requires cookie information, the redirection fails. How should I resolve this issue? Can I completely remove CozeLoop’s interface authentication?

🚨 Severity

None

🔧 Component

None

💻 Environment

No response

🔧 Go Environment

No response

📋 Logs

📝 Additional Context

No response

Activity

  1. lsy357 commented on Sep 2, 2025

    @lsy357
    Collaborator

    Hi, server interface authenticatio is controlled at the Hertz layer through session middleware. You can customize the authentication middleware to integrate with your existing account system.

  2. lsy357 commented on Sep 2, 2025

    @lsy357
    Collaborator

    Please refer to the code here: backend/api/router/coze/loop/apis/middleware/session.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions