Skip to content
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

where to set access token and other field in header with explorer #2205

Closed
shendkardevesh opened this issue Jan 2, 2019 · 8 comments
Closed

Comments

@shendkardevesh
Copy link

want to set an access token and other secret key in header for every api from explorer

@bajtos
Copy link
Member

bajtos commented Jan 3, 2019

IIRC, the recent version of swagger-ui is honoring auth options as described in the OpenAPI spec. So in order to have UI for setting access token, the spec produced by an LB4 app must advertise how that token should be provided by the clients.

@shendkardevesh
Copy link
Author

which version on swagger-ui i that

@vvdwivedi
Copy link
Contributor

@bajtos Is there any example on how to add this?

@hacksparrow
Copy link
Contributor

@vvdwivedi @shendkardevesh here is an example - #2210 (comment)

@shendkardevesh
Copy link
Author

@vvdwivedi @shendkardevesh here is an example - #2210 (comment)

Schema error should NOT have additional properties
additionalProperty: securityDefinitions
Jump to line 0

giving me error while editing the swagger

@lygstate
Copy link

lygstate commented Feb 7, 2019

What's the progress?

@dhmlau
Copy link
Member

dhmlau commented Mar 1, 2019

Related: #2027

@dhmlau
Copy link
Member

dhmlau commented Apr 12, 2019

Closing as duplicate of #2027.
Please continue the discussion in #2027. Thanks!

@dhmlau dhmlau closed this as completed Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants