[GH-ISSUE #1120] API token not displayed in user interface #463

Open
opened 2026-02-25 23:34:17 +03:00 by kerem · 1 comment
Owner

Originally created by @gingerbeardman on GitHub (Jun 21, 2025).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/1120

Data

  • Shiori version: 1.7.4
  • Database Engine: SQLite
  • Operating system: macOS ("linux arm64")
  • CLI/Web interface/Web Extension: my own app

Describe the bug / actual behavior

  • no API token visible in the UI

Expected behavior

  • API token should be easily obtainable

To Reproduce

Steps to reproduce the behavior:

  1. Login
  2. Look for API token

Notes

Workaround is to use CLI: github.com/go-shiori/shiori@d86c9cc650/docs/Usage.md (L180)
or a version similar that works for your OS (macOS grep is different)

Originally created by @gingerbeardman on GitHub (Jun 21, 2025). Original GitHub issue: https://github.com/go-shiori/shiori/issues/1120 ## Data - **Shiori version**: 1.7.4 - **Database Engine**: SQLite - **Operating system**: macOS ("linux arm64") - **CLI/Web interface/Web Extension**: my own app ## Describe the bug / actual behavior - no API token visible in the UI ## Expected behavior - API token should be easily obtainable ## To Reproduce Steps to reproduce the behavior: 1. Login 2. Look for API token ## Notes Workaround is to use CLI: https://github.com/go-shiori/shiori/blob/d86c9cc6507dc7a1f32c00a72a421f6fc4b58033/docs/Usage.md?plain=1#L180 or a version similar that works for your OS (macOS grep is different)
Author
Owner

@ginqi7 commented on GitHub (Aug 4, 2025):

You could install jq to parse the response JSON by

token=$(curl -s -X POST -H "Content-Type: application/json" -d '{"username": "'"$Username"'" , "password": "'"$Password"'", "remember": true}' $Shiori_URL/api/v1/auth/login | jq .message.token | tr -d '"')
<!-- gh-comment-id:3151056839 --> @ginqi7 commented on GitHub (Aug 4, 2025): You could install `jq` to parse the response JSON by ``` token=$(curl -s -X POST -H "Content-Type: application/json" -d '{"username": "'"$Username"'" , "password": "'"$Password"'", "remember": true}' $Shiori_URL/api/v1/auth/login | jq .message.token | tr -d '"') ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#463
No description provided.