PlaceOS / drivers

PlaceOS integrations and automations.
https://placeos.com
MIT License
10 stars 15 forks source link

fix(placeos/visitor-mailer): determine host name with calendar driver… #462

Closed w-le closed 1 year ago

w-le commented 1 year ago

This change allows kiosk apps using API Keys associated with placeos local role based accounts (no MS Graph api delegated access) to determine the host name, using an AAD lookup via calendar driver instead of staff-api driver (delegated permissions).

Note that before deploying this visitor mailer driver update to any clients that REQUIRE the hostname lookup to use staff-api instead of calendar driver, be sure to set setting: determine_host_name_using: "staff-api-driver" to ensure that it functions as it used to.