swagger-api / swagger-api/swagger-ui
How to change text present on swagger authorization screen using springdoc
Open
@XprabhatX is already working on this.
Since Nov 21, 2023.
cat: auth
Hacktoberfest
type: enhancement
version: 5.x
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
I want to change the Authorized label to Stored.
Please find the below screenshot from swagger UI authorization screen

The reason I want to change it as it is miss leading. If the user passes an invalid credential still it is showing as authorized.
Actual validation of Username and password is happening once we execute the request.
I am also good if anyone has an answer to validate the credentials once we hit the Authorize button as shown below.
Same question is asked on StackOverflow here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.