Instance-wide Mapbox Settings #920
|
I would like to share my Mapbox API token to be used as the default across the maps for everyone in my instance? Right now I have to share my API token with individuals on my server and just having them add it themselves |
Replies: 2 comments 1 reply
|
Expanding on this, it would be also nice if this were also made possible for the public shares (trip & journey). Maybe through a toggle for admins that don't their tokens semi-publicly exposed. |
|
Thanks @kuykear — this is exactly what's coming. I've added instance-wide Mapbox defaults: as an admin you can set a shared Mapbox token (plus the map style, 3D and quality mode) under Admin → Default User Settings. Anyone who hasn't entered their own token automatically inherits it, so the whole instance gets Mapbox without you handing the key to each person individually. The shared token is stored encrypted, and individual users can still override it with their own. @roel-de-vries good call on the public shares — that one's a bit different, though: a public/unauthenticated share page would expose the token to anyone with the link, so I'd rather put that behind an explicit admin opt-in than fold it into the instance default. I've left it out of this first pass so the shared-token feature can land cleanly, and I'll track the public-share toggle as a follow-up. This is in #1147 and will ship in the next release. |
Thanks @kuykear — this is exactly what's coming.
I've added instance-wide Mapbox defaults: as an admin you can set a shared Mapbox token (plus the map style, 3D and quality mode) under Admin → Default User Settings. Anyone who hasn't entered their own token automatically inherits it, so the whole instance gets Mapbox without you handing the key to each person individually. The shared token is stored encrypted, and individual users can still override it with their own.
@roel-de-vries good call on the public shares — that one's a bit different, though: a public/unauthenticated share page would expose the token to anyone with the link, so I'd rather put that behind an explicit admin opt-in t…