-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Send Authorization Header when loading the json is not working. #2081
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
Comments
Did you get this working by any chance? |
@hiteshpatwari |
There used to be an option to add api key (as query parameter) to all fetches in swagger-ui including loading json spec. Current implementation does not have such feature to add anything to fetch of json spec. |
This is related to #2793 (comment). Might be worth checking with @shockey. |
I'm a fan of @ponelat's final suggestion in the linked comment, if we're going to implement this. |
Please follow #2793. |
So, I'm trying to make my json file visible only after authentication. I've the necessary authorization requests setup but, I don't see Bearer token being attached to the request when I first load the JSON file.
I never see Authorization header being attached to the request.
Can somebody please help me with this.
This is the request Header I see on Chrome console :
The text was updated successfully, but these errors were encountered: