Replies: 3 comments 7 replies
-
Hi @macau23 it looks like nginx configuration issue. I just tested nginx + semaphore 2.15.0 with recommended configuration and it works fine. |
Beta Was this translation helpful? Give feedback.
-
Ah, looks like I'm got the problem. For security reasons, Semaphore no longer returns the full token in the The full token is visible only at the time of creation. |
Beta Was this translation helpful? Give feedback.
-
I should probably switch to using access tokens instead. Is there a way of naming them, and seeing which token triggered a job? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue
I have set up a new semaphore installation to replace the old one.
The API calls are failing because the cookie semaphore set in return to an api request has the HttpOnly flag set, even though TLS is used using the recommended nginx reverse proxy configuration.
This is the file that sets the cookie:
semaphore/api/login.go
Line 211 in 9ccad2b
New cookie file looks like this:
Old cookie file looks like this:
Impact
Web-Backend (APIs)
Installation method
Package
Database
No response
Browser
No response
Semaphore Version
2.15.0-1e13324-1749881537
Ansible Version
Logs & errors
1.2.3.4 - - [22/Jul/2025:19:17:14 +0000] "POST /api/auth/login HTTP/2.0" 204 0 "-" "curl/7.76.1"
1.2.3.4 - - [22/Jul/2025:19:17:15 +0000] "GET /api/user/tokens HTTP/2.0" 200 3 "-" "curl/7.76.1"
1.2.3.4 - - [22/Jul/2025:19:17:15 +0000] "POST /api/project/1/tasks HTTP/2.0" 401 0 "-" "curl/7.76.1"
Manual installation - system information
nginx
Configuration
No response
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions