grape-swagger-rails icon indicating copy to clipboard operation
grape-swagger-rails copied to clipboard

Add HTTP Basic Authentication

Open VasylShevchenko opened this issue 5 years ago • 2 comments

VasylShevchenko avatar Oct 25 '19 10:10 VasylShevchenko

I'd expect username/password to be nil by default and blank being a valid value, at least for the password.

This needs tests and CHANGELOG entry.

dblock avatar Oct 26 '19 22:10 dblock

I am not sure we want this. There's many ways to do auth and you can do basic auth outside of this controller when mounting it into an existing Rails application, no?

dblock avatar Oct 26 '19 22:10 dblock