keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
824 stars 53 forks source link

Invalid authorization schemes should return an error #712

Open ezekg opened 1 year ago

ezekg commented 1 year ago

E.g. Authorization: Foo bar is currently ignored and treated as no authentication wt all, but it should return an error instead.

ashutosh887 commented 1 year ago

I would like to pick this @ezekg

ezekg commented 1 year ago

@ashutosh887 have at it. I was thinking of raising an error in here for unsupported schemes.

ashutosh887 commented 1 year ago

Sure will check that first Do you prefer assigning issues? @ezekg

ezekg commented 1 year ago

No, but just open a PR when you're ready and I'll review.