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

Entering Basic Authentication credentials does not work #1777

Closed
prantlf opened this issue Nov 22, 2015 · 2 comments
Closed

Entering Basic Authentication credentials does not work #1777

prantlf opened this issue Nov 22, 2015 · 2 comments

Comments

@prantlf
Copy link
Contributor

prantlf commented Nov 22, 2015

I would like to use SwaggerClient.PasswordAuthorization by specifying a "basicAuth" authorization type in an API declaration.

I realized that there are a couple of problems with the implementation:


The authentication form is not styled and does not show up by default. I made it appear by adding its parent element and providing icon and styling:

<div class="auth_main_container"></div>

The fixes above and customizing the index.html helped me to get the Basic Authentication working. Is it the scenario supposed to be used only with the HTML customizatoin?

@prantlf
Copy link
Contributor Author

prantlf commented Nov 22, 2015

The schema version conversion problem is in sources of swagger-js. I opened a new PR there,.

@fehguy
Copy link
Contributor

fehguy commented Mar 15, 2016

Please try master which has #2014 to address this.

@fehguy fehguy closed this as completed Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants