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:")):
|
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")
|
logger.warning("Service_MSFT_CLIENT_SECRET appears to be encrypted - ensure decryption is working")
|
||||||
SCOPES = [
|
SCOPES = [
|
||||||
"Mail.ReadWrite", # Read and write mail
|
"Mail.ReadWrite", # Read and write mail (user's mailbox only)
|
||||||
"Mail.Send", # Send mail
|
"Mail.Send", # Send mail (user's mailbox only)
|
||||||
"Mail.ReadWrite.Shared", # Access shared mailboxes
|
|
||||||
"User.Read", # Read user profile
|
"User.Read", # Read user profile
|
||||||
"Sites.ReadWrite.All", # Read and write all SharePoint sites
|
"Sites.ReadWrite", # Read and write user's SharePoint sites (not org-wide)
|
||||||
"Files.ReadWrite.All" # Read and write all files
|
"Files.ReadWrite" # Read and write user's files (not org-wide)
|
||||||
]
|
]
|
||||||
|
|
||||||
@router.get("/login")
|
@router.get("/login")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue