Skip to content

Commit

Permalink
latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Feb 17, 2024
1 parent d3e7522 commit 16c9270
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
"port": 993,
}
CONF_O365_TENANT = "tenant"
CONF_O365_SCOPE = ["https://outlook.office365.com/.default"]
CONF_O365_SCOPE = [
"https://graph.microsoft.com/.default",
]

# GMail Config
CONF_GMAIL_DEFAULTS = {
Expand Down
1 change: 1 addition & 0 deletions custom_components/mail_and_packages/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def _set_authority(self) -> None:
self._authority = (
f"https://login.microsoftonline.com/{self.config[CONF_O365_TENANT]}"
)


async def client(self) -> None:
"""Setup client oauth."""
Expand Down

0 comments on commit 16c9270

Please sign in to comment.