add authroization config for the swagger doc #16431

Closed
opened 2026-02-21 19:26:05 -05:00 by yindo · 0 comments
Owner

Originally created by @hjlarry on GitHub (Aug 25, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Currently we integrated the Swagger documentation feature of Flask-RESTx.
However, every time we attempt to run an API, it consistently returns a 401 error, and there is no option available to configure the authorization token.

Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @hjlarry on GitHub (Aug 25, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Currently we integrated the Swagger documentation feature of Flask-RESTx. However, every time we attempt to run an API, it consistently returns a 401 error, and there is no option available to configure the authorization token. <img width="1523" height="1188" alt="Image" src="https://github.com/user-attachments/assets/bd4f4739-78c5-44f2-a76b-a71fe343dc34" /> ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 📚 documentation label 2026-02-21 19:26:05 -05:00
yindo closed this issue 2026-02-21 19:26:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16431