Skip to content

Mac Client will always return as "Unauthorized" when using custom server.session_cookie_name config #34

Description

@Lyfv

Describe the Bug

Recently I discover that I am able to connect with pangolin client after I reset my changes for the server.session_cookie_name to be the default p_session_token, I tried it after checking the code on APIClient.swift, that is has a line of private let sessionCookieName = "p_session_token" and without good knowledge of Swift I assume it is hardcoded.

Environment

  • OS Type & Version: MacOS 26.4
  • Pangolin Version: 1.16.2
  • Gerbil Version: 1.3.1
  • Traefik Version: 3.6.12
  • Newt Version: 1.11.0
  • Client Version: 0.70

To Reproduce

Expected Behavior

custom server.session_cookie_name should be use on APIClient class private let sessionCookieName = "p_session_token" line 48

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions