Skip to content

Support custom gateway_sessionid - #131

Merged
jerabekjiri merged 2 commits into
mainfrom
fix/support-custom-sessionid
Apr 9, 2026
Merged

jerabekjiri merged 2 commits into
mainfrom
fix/support-custom-sessionid

Conversation

@jerabekjiri

Copy link
Copy Markdown
Contributor

Add support to the GatewayAuthClient class for custom gateway_sessionid headers. For example aap-dev 2.7 appends port number to the header attribute.

curl -v http://localhost:44927/api/gateway/v1/login/ \
    -H "Referer: http://localhost:44927/login" \
    -H "Cookie: csrftoken=<csrftoken>" \
    -H "X-Csrftoken: <csrftoken> \
    -d "username=<usr>password=<pwd> 2>&1 | grep gateway_sessionid
< set-cookie: gateway_sessionid44927=jwbb69k...

@jerabekjiri
jerabekjiri merged commit 6d6def8 into main Apr 9, 2026
6 checks passed
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.

2 participants