Skip to content

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

Merged
w-le merged 1 commit into
masterfrom
fix/visitor-mailer
Sep 22, 2023
Merged

fix(placeos/visitor-mailer): determine host name with calendar driver…#462
w-le merged 1 commit into
masterfrom
fix/visitor-mailer

Conversation

@w-le
Copy link
Copy Markdown
Contributor

@w-le w-le commented Sep 21, 2023

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.

…, not staff-api.

As kiosk role-based account may not have access to AAD user search.
@w-le w-le requested a review from stakach September 21, 2023 11:48
@w-le w-le self-assigned this Sep 22, 2023
@w-le w-le added type: driver type: enhancement new feature or request labels Sep 22, 2023
Copy link
Copy Markdown
Member

@stakach stakach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@w-le w-le merged commit 39bc758 into master Sep 22, 2023
@w-le w-le deleted the fix/visitor-mailer branch September 22, 2023 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: driver type: enhancement new feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants