Authentication
All FireSat data endpoints require a bearer token. Get a client ID and
secret from the FireSat team, exchange them for a short-lived access token, then
send it as an Authorization: Bearer header on every request.
Get a token
TOKEN=$(curl -s -X POST \
https://auth.firesat.com/realms/efa/protocol/openid-connect/token \
-d grant_type=client_credentials \
-d client_id=YOUR_CLIENT_ID \
-d client_secret=YOUR_CLIENT_SECRET | jq -r .access_token)
Use the token
curl -s "https://api.firesat.com/ogc/collections/gis.hotspots/items?f=geojson&limit=10" \
-H "Authorization: Bearer $TOKEN"