BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

can't get token_secret

Open syks0121 opened this issue 8 months ago • 1 comments

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"

Image

Image

Image

Steps to Reproduce

  1. Fill in the key name
  2. save
  3. An error occurred
  4. 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

syks0121 avatar May 05 '25 11:05 syks0121

Hi @syks0121, Can you try following our debugging guidance to gain detail regarding the error: https://www.bookstackapp.com/docs/admin/debugging/

ssddanbrown avatar May 05 '25 11:05 ssddanbrown

Since there's been no further follow-up I'm going to close this off.

ssddanbrown avatar Sep 03 '25 12:09 ssddanbrown