fixes
This commit is contained in:
parent
bfa346b919
commit
1ea36ad5bc
1 changed files with 4 additions and 5 deletions
|
|
@ -53,12 +53,11 @@ if not REDIRECT_URI:
|
|||
if CLIENT_SECRET and CLIENT_SECRET.startswith(("PROD_ENC:", "INT_ENC:", "DEV_ENC:")):
|
||||
logger.warning("Service_MSFT_CLIENT_SECRET appears to be encrypted - ensure decryption is working")
|
||||
SCOPES = [
|
||||
"Mail.ReadWrite", # Read and write mail
|
||||
"Mail.Send", # Send mail
|
||||
"Mail.ReadWrite.Shared", # Access shared mailboxes
|
||||
"Mail.ReadWrite", # Read and write mail (user's mailbox only)
|
||||
"Mail.Send", # Send mail (user's mailbox only)
|
||||
"User.Read", # Read user profile
|
||||
"Sites.ReadWrite.All", # Read and write all SharePoint sites
|
||||
"Files.ReadWrite.All" # Read and write all files
|
||||
"Sites.ReadWrite", # Read and write user's SharePoint sites (not org-wide)
|
||||
"Files.ReadWrite" # Read and write user's files (not org-wide)
|
||||
]
|
||||
|
||||
@router.get("/login")
|
||||
|
|
|
|||
Loading…
Reference in a new issue