added user.read scope

This commit is contained in:
Jonathan Liu committed 2024-08-23 00:46:53 -07:00
1 parent 55e0c2d0c5
commit fa4d66eef3
1 file changed
+2 -2
+2 -2
View File
@@ -53,9 +53,9 @@ export const signInOutlook = ({
const tenant = "common"
const redirectUri = encodeURIComponent(`${window.location.origin}/auth`)
let scope = "offline_access"
let scope = "offline_access User.Read"
if (requestCalendarPermission) {
scope += " calendars.read.shared"
scope += " Calendars.Read.Shared"
}
scope = encodeURIComponent(scope)