MobilityData / gbfs-validator

The canonical GBFS validator. Maintained by the GBFS community, facilitated by MobilityData.
https://gbfs-validator.mobilitydata.org/
Apache License 2.0
18 stars 12 forks source link

feat: add support for multiple auth headers #128

Closed dersvenhesse closed 12 months ago

dersvenhesse commented 1 year ago

In #118 a feature to add API-Key authentication was added.

Unfortunately some gateways require more than one key for authentication. To address this, I added a more generic approach to allow other kinds of authentication with multiple headers as well. Hence the renaming to headers instead of api_key.

I limited it to three headers, since this should be sufficient and won't overload the ui with "add header"-buttons.

netlify[bot] commented 1 year ago

Deploy Preview for gbfs-validator ready!

Name Link
Latest commit ffadc2a2e5a648faeb58b8c07f48dd6b13e6e0fe
Latest deploy log https://app.netlify.com/sites/gbfs-validator/deploys/64fc39a310c7a40008a924e7
Deploy Preview https://deploy-preview-128--gbfs-validator.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.