MyNixOS website logo
option

services.pizauth.accounts.<name>.scopes

The scopes which the OAuth2 token will give access to. Optional. Note that Office365 requires the non-standard "offline_access" scope to be specified in order for pizauth to be able to operate successfully.

Declarations
Type
null or (list of string)
Default
[ ]
Example
[
  "https://outlook.office365.com/IMAP.AccessAsUser.All"
  "https://outlook.office365.com/SMTP.Send"
  "offline_access"
]