openaddresses / batch

OpenAddresses/Machine based AWS Batch based ETL Processing
https://batch.openaddresses.io/
MIT License
6 stars 5 forks source link

Update bearer authorization example #240

Closed missinglink closed 2 years ago

missinglink commented 2 years ago

Heya,

I was checking out the docs today and noticed a couple parts of the bearer authorization example which could be improved.


The correct format is Authorization: <type> <credentials>, which actually what is written in the code as Authorization: Bearer <api token>. Unfortunately it seems like the rendering engine is stripping that syntax:

Screenshot 2021-11-18 at 13 39 44

I changed <> to {}, not sure if this will fix it, just picked different symbols 🤷‍♂️ 😆


In the example it's written 'Authorization': 'oa.1234-your-token-here-5678' which I believe should be 'Authorization': 'Bearer oa.1234-your-token-here-5678'?

Screenshot 2021-11-18 at 13 42 16