swagger-api / swagger-api/swagger-ui
Validate access token when click authorize button on swagger ui
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
I have on api which generates the access token.
We have other apis as well which will use the generated token, I want to validate the token when click on authorize button. If token generated using the first api is not passed correctly, It shouldn't let the user to use the try out feature.
Any lead you be much appreciated.
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.
Research direction
Start by tracing Swagger UI's authorize-button flow and how it stores or applies the access token, then reproduce the behavior with an invalid or incorrectly passed token. Confirm the expected authorization response and try-it-out behavior with the project’s existing tests or manual UI checks; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, openapi
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100