Skip to content

can't get token_secret #5602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
syks0121 opened this issue May 5, 2025 · 1 comment
Open

can't get token_secret #5602

syks0121 opened this issue May 5, 2025 · 1 comment

Comments

@syks0121
Copy link

syks0121 commented May 5, 2025

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

@ssddanbrown
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants