BookStack
BookStack copied to clipboard
can't get token_secret
Describe the Bug
When I create the key I get an exception
access.log
172.21.0.1 - - [05/May/2025:11:08:51 +0000] "POST /api-tokens/1/create HTTP/1.1" 302 542 "http://192.168.31.106:8080/api-tokens/1/create?context=my-account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
172.21.0.1 - - [05/May/2025:11:08:52 +0000] "GET /%20http://192.168.31.106:8080/api-tokens/1/21 HTTP/1.1" 404 21384 "http://192.168.31.106:8080/api-tokens/1/create?context=my-account" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
Steps to Reproduce
- Fill in the key name
- save
- An error occurred
- Only token_id can be obtained, token_secret cannot be obtained
Expected Behaviour
Create a key successfully
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v25.02.2
Hi @syks0121, Can you try following our debugging guidance to gain detail regarding the error: https://www.bookstackapp.com/docs/admin/debugging/
Since there's been no further follow-up I'm going to close this off.